diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2020-02-19 10:30:23 +0100 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2020-02-19 22:32:45 +0100 | 
| commit | 1b6cfb9d24cdcb822996bc23e2eb5a4cea73ec4e (patch) | |
| tree | b3cc748900488431033d02550ad38a505f9d25ae /lib | |
| parent | 67d26a361a6867eb7028c12c4d84bf7b93cb515c (diff) | |
connect: remove some spurious infof() calls
As they were added primarily for debugging, they provide little use for
users.
Closes #4951
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/connect.c | 7 | 
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/connect.c b/lib/connect.c index 0cfd6886f..0a7475cb6 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -757,9 +757,6 @@ static CURLcode connect_SOCKS(struct connectdata *conn, int sockindex,  {    CURLcode result = CURLE_OK; -  infof(conn->data, "connect_SOCKS is called [socks state %d]\n", -        conn->cnnct.state); -    if(conn->bits.socksproxy) {  #ifndef CURL_DISABLE_PROXY      /* for the secondary socket (FTP), use the "connect to host" @@ -1034,8 +1031,6 @@ static void tcpnodelay(struct connectdata *conn, curl_socket_t sockfd)                  sizeof(onoff)) < 0)      infof(data, "Could not set TCP_NODELAY: %s\n",            Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); -  else -    infof(data, "TCP_NODELAY set\n");  #else    (void)conn;    (void)sockfd; @@ -1243,8 +1238,6 @@ static CURLcode singleipconnect(struct connectdata *conn,        if(setsockopt(sockfd, IPPROTO_TCP, TCP_FASTOPEN_CONNECT,                      (void *)&optval, sizeof(optval)) < 0)          infof(data, "Failed to enable TCP Fast Open on fd %d\n", sockfd); -      else -        infof(data, "TCP_FASTOPEN_CONNECT set\n");        rc = connect(sockfd, &addr.sa_addr, addr.addrlen);  #elif defined(MSG_FASTOPEN) /* old Linux */  | 
