RE: CURLOPT_TIMEOUT option
Date: Fri, 9 Mar 2001 10:39:33 +0100
Some additional information:
I start the server
I start a client doing a HTTP post with CURLOPT_TIMEOUT set to 30
I kill the server before the end of the post processing
The client request is immediatly ended
For me, the expected behavior shoud be:
The client request returns after 30s.
Is it true or not ?
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Friday, March 09, 2001 9:35 AM
To: libcurl Mailing list
Subject: Re: CURLOPT_TIMEOUT option
On Thu, 8 Mar 2001, Bescon, Guenole wrote:
> I've set a HTTP post request using the CURLOPT_TIMEOUT option. When I do
> the HTTP post, and when the server is not available, the request
> immediatly returns. It seems that the timeout has no effect.
I don't understand what effect you want. The timeout is the maximum time you
want to allow the operation to take. If the server isn't available, the
operation will fail immediately. That has nothing to do with the timeout
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/ _______________________________________________ Curl-library mailing list Curl-library_at_lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-library _______________________________________________ Curl-library mailing list Curl-library_at_lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-libraryReceived on 2001-03-09