mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
parent
0023fce38d
commit
bb74201804
@ -240,7 +240,10 @@ static CURLcode dohprobe(struct Curl_easy *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
timeout_ms = Curl_timeleft(data, NULL, TRUE);
|
timeout_ms = Curl_timeleft(data, NULL, TRUE);
|
||||||
|
if(timeout_ms <= 0) {
|
||||||
|
result = CURLE_OPERATION_TIMEDOUT;
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
/* Curl_open() is the internal version of curl_easy_init() */
|
/* Curl_open() is the internal version of curl_easy_init() */
|
||||||
result = Curl_open(&doh);
|
result = Curl_open(&doh);
|
||||||
if(!result) {
|
if(!result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user