From 0c050662b7796af0fdbce7692490bde8200ecafe Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 Feb 2015 13:13:22 +0100 Subject: [PATCH] sws: stop logging about TPC_NODELAY nonsense --- tests/server/sws.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/server/sws.c b/tests/server/sws.c index 8cd30c5a5..fe8dac2ae 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -1334,8 +1334,6 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port) if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY, (void *)&flag, sizeof(flag))) logmsg("====> TCP_NODELAY for server conection failed"); - else - logmsg("TCP_NODELAY set for server conection"); } #endif @@ -1543,8 +1541,6 @@ static void http_connect(curl_socket_t *infdp, if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, (void *)&flag, sizeof(flag))) logmsg("====> TCP_NODELAY for client DATA conection failed"); - else - logmsg("TCP_NODELAY set for client DATA conection"); } #endif req2.pipelining = FALSE; @@ -1867,8 +1863,6 @@ static curl_socket_t accept_connection(curl_socket_t sock) if(0 != setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, (void *)&flag, sizeof(flag))) logmsg("====> TCP_NODELAY failed"); - else - logmsg("TCP_NODELAY set"); } #endif