On Tuesday, May 07, 2013 23:44:12 Daniel Stenberg wrote: > On Tue, 7 May 2013, David Strauss wrote: > >> What about using PR_INTERVAL_NO_WAIT instead of -1? > > > > I'm not sure there's a way for that to work efficiently without waiting > > for > > an event from NSS, if that's possible. > > That's already done before the function is called in the first place. The > the GnuTLS and OpenSSL versions of that function for example are completely > non-blocking.
So are the NSS recv/send functions. Only the handshake still blocks with NSS. I guess that David needs the following fix: https://github.com/bagder/curl/commit/9d0af301 Kamil ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html