cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libcurl hangs without return when network interface is down

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Dec 2006 10:33:35 +0100 (CET)

On Tue, 19 Dec 2006, Bo Xie wrote:

> I reported a bug and it was rejected. And I was recommended to ask for help
> here. For details, please refer to
> https://sourceforge.net/tracker/index.php?func=detail&aid=1618521&group_id=976&atid=100976

Here's three different options, use them individually or combined at your
choice.

1) Use the ordinary CURLOPT_TIMEOUT option.

2) Use the progress function callback and decide for yourself when you need to
    stop.

3) Use the CURLOPT_LOW_SPEED_LIMIT option.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-12-19