cURL / Mailing Lists / curl-library / Single Mail


Re: libCurl 7.16.3: Are there any problems known for timeouts set with CURLOPT_TIMEOUT ?

From: Daniel Stenberg <>
Date: Sat, 5 Apr 2008 23:30:34 +0200 (CEST)

On Sat, 5 Apr 2008, Stefan Krause wrote:

> I have observed one case, where I set 2 minutes timeout and it expired after
> exactly 9 minutes.

Wow! Very strange behavior.

> Does anybody have a clue what might be the reson for such a behaviour or
> under what conditions that may happen. ?
> Is the 9 minutes timeout a special timeout internally defined by libCurl?

No, there's no special 9 minutes timeout and it is expected to use the set
timeout and nothing else.

> Does the correct working of the timeout feature somehow depend on the
> FD_SETSIZE configuration?


> The OS is QNX 6.3.2 and libcurl 7.16.3 is used.

Can you try the same magic case on another operating system and/or libcurl
release and see if it still occurs?

  Commercial curl and libcurl Technical Support:
Received on 2008-04-05