cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl stuck with half-open connection

From: Joe Eggleston <joe_at_arbor.net>
Date: Fri, 17 Apr 2009 17:08:15 -0400

Fair enough. I agree it's no problem to set my own timer.

Thanks!

On Apr 17, 2009, at 4:08 PM, Daniel Stenberg wrote:

> Without a timeout, it is expected to never notice.
>
> However, using the multi_socket() API and the multi interface in
> general I believe, there's a bug in the CURLOPT_TIMEOUT handling
> that makes it malfunction at times.
>
> But I always stress that you can make that timeout handling yourself
> with the multi interface. Just remove the easy handle at whatever
> time you think it's done waiting.
>
> --
>
> / daniel.haxx.se
Received on 2009-04-17