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
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
}