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
1 changed files with 4 additions and 0 deletions

View File

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