cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Timeouts and using CURLOPT_FRESH_CONNECT

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 27 Nov 2003 14:57:23 +0100 (CET)

On Thu, 27 Nov 2003, Andrew Fuller wrote:

> Please find test application attached which shows the behaviour described
> below. Also attached is the output I receive, both with and without setting
> FRESH_CONNECT.

I take it it works for you with FRESH_CONNECT set then?

> FYI, my app uses a publicly-viewable JSP at
> http://www.mycgiserver.com/~fullerand/fetch.jsp which allows you to specify
> the delay before a response is generated, using the delay parameter (in ms),

Nice. Very convenient!

> Thanks for looking at this,

What libcurl version on what platform is this? I just built your program (only
converted to plain C), and using my CVS-version libcurl on Linux "It Just
Works"! That is, it closes the connection on the first request when it times
out.

It might very well happen because we hit different timeout checks, and only
the one you hit features this bug...

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-11-27