cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL with NSS not properly timing out

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 May 2013 23:44:12 +0200 (CEST)

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.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-07