Loading lib/ssluse.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -783,10 +783,12 @@ Curl_SSLConnect(struct connectdata *conn) /* subtract the passed time */ /* subtract the passed time */ timeout_ms -= (long)has_passed; timeout_ms -= (long)has_passed; if(timeout_ms < 0) if(timeout_ms < 0) { /* a precaution, no need to continue if time already is up */ /* a precaution, no need to continue if time already is up */ failf(data, "SSL connection timeout"); return CURLE_OPERATION_TIMEOUTED; return CURLE_OPERATION_TIMEOUTED; } } } else else /* no particular time-out has been set */ /* no particular time-out has been set */ timeout_ms=300000; /* milliseconds, default to five minutes */ timeout_ms=300000; /* milliseconds, default to five minutes */ Loading Loading
lib/ssluse.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -783,10 +783,12 @@ Curl_SSLConnect(struct connectdata *conn) /* subtract the passed time */ /* subtract the passed time */ timeout_ms -= (long)has_passed; timeout_ms -= (long)has_passed; if(timeout_ms < 0) if(timeout_ms < 0) { /* a precaution, no need to continue if time already is up */ /* a precaution, no need to continue if time already is up */ failf(data, "SSL connection timeout"); return CURLE_OPERATION_TIMEOUTED; return CURLE_OPERATION_TIMEOUTED; } } } else else /* no particular time-out has been set */ /* no particular time-out has been set */ timeout_ms=300000; /* milliseconds, default to five minutes */ timeout_ms=300000; /* milliseconds, default to five minutes */ Loading