Loading lib/url.c +5 −1 Changes for lib/url.c: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -1244,8 +1244,12 @@ static CURLcode ConnectPlease(struct UrlData *data, conntimeout.tv_sec = conn->data->connecttimeout; conntimeout.tv_usec = 0; if(-1 != select (conn->firstsocket + 1, NULL, &connectfd, NULL, &conntimeout)) { if (FD_ISSET(conn->firstsocket, &connectfd)) if (FD_ISSET(conn->firstsocket, &connectfd)) { /* shut off non-blocking again */ nonblock = 0; ioctlsocket(conn->firstsocket, FIONBIO, &nonblock); return CURLE_OK; } else errno = EINTR; } Loading Loading
lib/url.c +5 −1 Changes for lib/url.c: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -1244,8 +1244,12 @@ static CURLcode ConnectPlease(struct UrlData *data, conntimeout.tv_sec = conn->data->connecttimeout; conntimeout.tv_usec = 0; if(-1 != select (conn->firstsocket + 1, NULL, &connectfd, NULL, &conntimeout)) { if (FD_ISSET(conn->firstsocket, &connectfd)) if (FD_ISSET(conn->firstsocket, &connectfd)) { /* shut off non-blocking again */ nonblock = 0; ioctlsocket(conn->firstsocket, FIONBIO, &nonblock); return CURLE_OK; } else errno = EINTR; } Loading