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: Wed, 8 May 2013 14:07:51 -0700

On Wed, May 8, 2013 at 11:37 AM, David Strauss <david_at_davidstrauss.net> wrote:
> Does it at least time out based on the configured libcurl connection or request timeout?

Read some source and found the answer: yes.

<snip>
  timeout = PR_MillisecondsToInterval((PRUint32) time_left);

  /* Force the handshake now */
  if(SSL_ForceHandshakeWithTimeout(connssl->handle, timeout) != SECSuccess) {
<snip>

--
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-08