cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL with NSS not properly timing out

From: David Strauss <david_at_davidstrauss.net>
Date: Tue, 7 May 2013 14:37:06 -0700

On Tue, May 7, 2013 at 2:30 PM, Daniel Stenberg <daniel_at_haxx.se> 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.

Otherwise, it seems like it would be best to calculate the remaining
timeout allowable for the request (considering how DNS, etc, have
already contributed to request time) and sending that in.

--
David Strauss
   | david_at_davidstrauss.net
   | +1 512 577 5827 [mobile]
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-07