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

Reply via email to