mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:43:31 +03:00
spelling fixes
Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
This commit is contained in:
parent
06df42410e
commit
7e35eb7729
32 changed files with 49 additions and 48 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue