Loading lib/connect.c +3 −1 Original line number Diff line number Diff line Loading @@ -369,10 +369,12 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */ /* subtract the passed time */ timeout_ms -= (long)has_passed; if(timeout_ms < 0) if(timeout_ms < 0) { /* a precaution, no need to continue if time already is up */ failf(data, "Connection time-out"); return CURLE_OPERATION_TIMEOUTED; } } #ifdef ENABLE_IPV6 /* Loading Loading
lib/connect.c +3 −1 Original line number Diff line number Diff line Loading @@ -369,10 +369,12 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */ /* subtract the passed time */ timeout_ms -= (long)has_passed; if(timeout_ms < 0) if(timeout_ms < 0) { /* a precaution, no need to continue if time already is up */ failf(data, "Connection time-out"); return CURLE_OPERATION_TIMEOUTED; } } #ifdef ENABLE_IPV6 /* Loading