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 20:35:07 +0200

On Wednesday 11 May 2011 20:06:08 Eoin Fearghail wrote:
> What I saw was select returning -1, and SOCKERRNO returning 0,
> so the code looped forever.

That sounds like a bug in the implementation of select() you are using. The
specification does not consider the combination above to be a valid response.

Kamil

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