cURL / Mailing Lists / curl-library / Single Mail


RE: curl and signals

From: Bescon, Guenole <>
Date: Tue, 27 Mar 2001 17:08:23 +0200

Is this bug easily fixable ?
If yes what are the source files involved ?


-----Original Message-----
From: Daniel Stenberg []
Sent: Tuesday, March 27, 2001 4:50 PM
To: libcurl Mailing list
Subject: Re: curl and signals

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
Curl-library mailing list
Received on 2001-03-27