1
0
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:
Daniel Stenberg 2001-03-27 21:24:46 +00:00
parent 45ffb16c2a
commit 3e65062be2

View File

@ -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;
} }