cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
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?

No.

> 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: http://haxx.se/curl.html
Received on 2008-04-05