Skip to content
Snippets Groups Projects
Commit 3e65062b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

make sure the alarm is off when returning from curl_easy_perform()

parent 45ffb16c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment