cURL / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg <>
Date: Wed, 11 May 2011 19:46:36 +0200 (CEST)

On Wed, 11 May 2011, Eoin Fearghail wrote:

(Please don't top-post)

> However in the above section it will only break out of the do... while loop
> if a non-zero value has been set for timeout_ms
> [assuming the other logic does no trigger a break]

The key being that the logic you read only executes if select() returns -1 and
errno is EINTR, which really is not the usual code path.


List admin:
Received on 2011-05-11