mirror of https://github.com/moparisthebest/curl
make sure the alarm is off when returning from curl_easy_perform()
This commit is contained in:
parent
45ffb16c2a
commit
3e65062be2
|
@ -960,6 +960,10 @@ CURLcode Curl_perform(CURL *curl)
|
|||
conn->newurl = NULL;
|
||||
}
|
||||
|
||||
/* make sure the alarm is switched off! */
|
||||
if(data->timeout || data->connecttimeout)
|
||||
myalarm(0);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue