cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Disabling alarm system call

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 24 Apr 2012 23:52:23 +0200

On Tuesday 24 April 2012 23:14:54 Gokhan Sengun wrote:
> Hello Folks,
>
> I would like to disable alarm system call in building libcurl.
>
> I used "--disable-alarm" in configuring the library but strace points out
> that curl is still using alarm function.

AFAIK, there is no such compile-time option of curl. There is a run-time
option that allows you to disable using signals (and alarm):

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTNOSIGNAL

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-24