cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: timeout_ms < 1000

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 May 2010 20:57:40 +0200 (CEST)

On Thu, 13 May 2010, Jonathan Rom wrote:

> There is a problem setting a timeout of less than one second. If I set the
> timeout to less than one second curl returns a timeout instantly.
>
> I have located the culprit in hostip.c where there is a check if timeout <
> 1000:

I agree with Kamil on this. A subsecond timeout that is done with alarm()
really isn't feasable.

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