cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl and signals

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

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

Thanks
Gwen

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
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 .

Ouch.

> 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 -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-03-27