curl-library
Re: timeout when you unplug the ethernet cable?
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 21 Dec 2004 10:26:48 +0100 (CET)
Date: Tue, 21 Dec 2004 10:26:48 +0100 (CET)
On Tue, 21 Dec 2004, Christoph Rupp wrote:
> i don't really want to touch the system-wide settings... is it possible to
> implement timeouts with sigalarm or a timer or something similar?
Perhaps you want CURLOPT_TIMEOUT:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMEOUT
... or CURLOPT_LOW_SPEED_LIMIT and friend:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTLOWSPEEDLIMIT
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTLOWSPEEDTIME
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-12-21