curl-users
Re: libcurl time out issue
Date: Wed, 25 Mar 2009 16:27:43 +0100 (CET)
On Wed, 25 Mar 2009, anoopchandran.othayoth_at_wipro.com wrote:
> This problem is related to timeout of libcurl.
Then I'd suggest you use the curl-library list instead!
> The option which I thought is about CURLOPT_TIMEOUT, But this works if the
> download operation takes longer duration than the time specified in
> curl_easy_opt() with CURL_TIMEOUT as parameter then will abort the operation
> right.
Yes
> Is there any option to abort the operation when the remote machine goes
> down?
Normally such operations are detected and the transfer is dropped. But
otherwise you can use CURLOPT_LOW_SPEED_TIME/CURLOPT_LOW_SPEED_LIMIT to
arrange for that.
> operating system: Linux 3 2.6.11-1.1369_FC4
>
> version of curl: 4.1.1
We have never released such a version...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-03-25