cURL / Mailing Lists / curl-library / Single Mail


Re: curl and signals

From: Daniel Stenberg <>
Date: Tue, 27 Mar 2001 16:50:18 +0200 (MET DST)

On Tue, 27 Mar 2001, Bescon, Guenole wrote:

> When I call the curl_easy_perform to do a HTTP post and when the HTTP
> server is not available, my application catches a signal emitted by
> curl_easy_perform after the CURLOPT_TIMEOUT .


> What is this signal ?

SIGALRM, used for the timeout stuff.

> Is it a manner to avoid curl_easy_perform throwing this signal ?

That is a bug. The signal should not be sent, it should be turned off when
libcurl returns.

  Daniel Stenberg -- curl project maintainer --
Curl-library mailing list
Received on 2001-03-27