From 3e65062be2e4b5147c10e2b9826fed99678f6169 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 27 Mar 2001 21:24:46 +0000 Subject: make sure the alarm is off when returning from curl_easy_perform() --- lib/transfer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') 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; } -- cgit v1.2.3