cURL / Mailing Lists / curl-library / Single Mail

curl-library

Timeout of 0 in url.c: SocketIsDead()

From: Eoin Fearghail <eoin.o.fearghail_at_gmail.com>
Date: Wed, 11 May 2011 16:48:14 +0100

https://github.com/bagder/curl/blob/master/lib/url.c#L2677

Is there a reason that a timeout, [even a large] one is not
passed into the invocation of Curl_socket_ready ?

  sval = Curl_socket_ready(sock, CURL_SOCKET_BAD, 0);

It seems unlikely that you'd want to wait forever!

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