cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_TIMEOUT option

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Mar 2001 09:35:16 +0100 (MET)

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
value.

-- 
  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
Received on 2001-03-09