cURL / Mailing Lists / curl-library / Single Mail


Re: nss: timeouts within Curl_nss_recv() and Curl_nss_send()

From: Kamil Dudka <>
Date: Tue, 6 Oct 2009 21:44:38 +0200

On Tuesday 06 of October 2009 21:29:46 Rob Crittenden wrote:
> Ok, yes you can save a few milliseconds...

... and also few lines of the errorprone code which has been IMO never tested.

> curl can open sockets in either blocking or non-blocking:
> Curl_ssl_connect_nonblocking() and Curl_ssl_connect().

My reading of these functions is that the connection process can block or
not. The socket for data transfer should be always opened in non-blocking
mode. Or am I completely wrong?

List admin:
Received on 2009-10-06