cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How do timeouts work?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 May 2003 10:17:15 +0200 (CEST)

On Fri, 9 May 2003, Philippe Raoult wrote:

> > CURLOPT_TIMEOUT is for the whole operation. If it still transfers after
> > 120 seconds, it'll bail out.
>
> is there a default value ?

No. There's no timeout at all by default.

> i dont set this option but i suspect that some of my transfers are aborted
> because they take too long. I havent looked into this seriously so it could
> be something else entirely :)

If they were aborted and you haven't used a timeout option with libcurl, then
perhaps the remote server cut you off?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Received on 2003-05-09