cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl waits indefinitely for data

From: arnuld uttre <arnuld.mizong_at_gmail.com>
Date: Mon, 24 Jan 2011 11:00:39 +0530

> On Mon, Jan 24, 2011 at 10:28 AM, arnuld uttre
> <arnuld.mizong_at_gmail.com> wrote:
>> On Fri, Jan 14, 2011 at 2:12 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

>> Right, but if libcurl doesn't get any data it will just wait. And wait.
>> Forever.
>
>> You need to give it a timeout or some kind of condition when it should stop
>> waiting.

> Even with latest stable libcurl , CURL_TIMEOUT option does not work. I
> have compiled with c-ares supprt though. So libcurl is still waiting
> for data from last 2 days :( . CURLOPT_VERBOSE has same kind of output
>
> ..SNIP...

Eh.. sorry. CURLOPT_TIMEOUT does work with latest curl. Poor me who
looked at old log file :-/ .

-- 
http://uttre.wordpress.com/2008/05/14/the-lost-love-of-mine/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-24