cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

From: Kamil Dudka <kdudka_at_redhat.com>
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?

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-06

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET