cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Timeout of 0 in url.c: SocketIsDead()

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 11 May 2011 19:28:25 +0200

On Wednesday 11 May 2011 19:10:42 Eoin ó Fearghail wrote:
> Yes, sorry my question was
> "why is no timeout set ?"

I do not think you understand. Zero means do not wait. See e.g. how poll()
works [1]: "If the value of timeout is 0, poll() shall return immediately."

Kamil

[1] http://pubs.opengroup.org/onlinepubs/009695399/functions/poll.html

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