cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl and signals

From: Daniel Stenberg <daniel_at_haxx.se>
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 .

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
Received on 2001-03-27