cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl Error 18 Timeout

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 4 Dec 2010 17:35:58 +0100 (CET)

On Sat, 4 Dec 2010, Matt Horrocks wrote:

> I don't know what timeout it is... I assume it's adding one, as every curl
> request which fails with an error 18 hangs for 3 minutes. The only timeout
> I've set is the connecttimeout below.

If it returns error 18 it is not an internal timeout that libcurl hit, but
something else kills the transfer and libcurl finds out by seeing that it
hasn't got all the data it was supposed to get.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-04