mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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;
|
conn->newurl = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* make sure the alarm is switched off! */
|
||||||
|
if(data->timeout || data->connecttimeout)
|
||||||
|
myalarm(0);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user