summaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2018-02-23 23:29:01 +0000
committerViktor Szakats <vszakats@users.noreply.github.com>2018-02-23 23:29:01 +0000
commit7e35eb77292fe6464889ddc8329c6a64136f969d (patch)
tree76b1bdd02473d44be6773d0c61bbe8e98aeb8ffd /tests/server
parent06df42410e8829b70812b56664ab9fe3c77b683a (diff)
downloadcurl-7e35eb77292fe6464889ddc8329c6a64136f969d.tar.gz
spelling fixes
Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/CMakeLists.txt2
-rw-r--r--tests/server/sockfilt.c2
-rw-r--r--tests/server/sws.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/server/CMakeLists.txt b/tests/server/CMakeLists.txt
index cfc1434cd..73841027b 100644
--- a/tests/server/CMakeLists.txt
+++ b/tests/server/CMakeLists.txt
@@ -20,7 +20,7 @@ function(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test
target_link_libraries(${TEST_NAME} ${CURL_LIBS})
# Test servers simply are standalone programs that do not use libcurl
- # library. For convinience and to ease portability of these servers,
+ # library. For convenience and to ease portability of these servers,
# some source code files from the libcurl subdirectory are also used
# to build the servers. In order to achieve proper linkage of these
# files on Win32 targets it is necessary to build the test servers
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index ceb04d8e8..40f5bdb48 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -1050,7 +1050,7 @@ static bool juggle(curl_socket_t *sockfdp,
Commands:
- DATA - plain pass-thru data
+ DATA - plain pass-through data
*/
if(!read_stdin(buffer, 5))
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 1d47375ad..10a87746b 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -1347,7 +1347,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
serverfd = socket(socket_domain, SOCK_STREAM, 0);
if(CURL_SOCKET_BAD == serverfd) {
error = SOCKERRNO;
- logmsg("Error creating socket for server conection: (%d) %s",
+ logmsg("Error creating socket for server connection: (%d) %s",
error, strerror(error));
return CURL_SOCKET_BAD;
}
@@ -1358,7 +1358,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
curl_socklen_t flag = 1;
if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY,
(void *)&flag, sizeof(flag)))
- logmsg("====> TCP_NODELAY for server conection failed");
+ logmsg("====> TCP_NODELAY for server connection failed");
}
#endif
@@ -1423,7 +1423,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port)
* either end.
*
* When doing FTP through a CONNECT proxy, we expect that the data connection
- * will be setup while the first connect is still being kept up. Therefor we
+ * will be setup while the first connect is still being kept up. Therefore we
* must accept a new connection and deal with it appropriately.
*/
@@ -1567,7 +1567,7 @@ static void http_connect(curl_socket_t *infdp,
curl_socklen_t flag = 1;
if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY,
(void *)&flag, sizeof(flag)))
- logmsg("====> TCP_NODELAY for client DATA conection failed");
+ logmsg("====> TCP_NODELAY for client DATA connection failed");
}
#endif
req2.pipelining = FALSE;