diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-03-27 21:24:46 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-27 21:24:46 +0000 |
commit | 3e65062be2e4b5147c10e2b9826fed99678f6169 (patch) | |
tree | cf289e0dd8f7706dd458bd100a7c5abb04df1f33 /lib | |
parent | 45ffb16c2a6b89ed82232c2a26625dfafcaaba5c (diff) |
make sure the alarm is off when returning from curl_easy_perform()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/transfer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 4ce6f32aa..1f2c6886f 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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; } |