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:14:24 -0700

This -1 timeout is also in the current master:
https://github.com/bagder/curl/blob/master/lib/nss.c#L1518

On Tue, May 7, 2013 at 2:11 PM, David Strauss <david_at_davidstrauss.net> wrote:
> It looks like PR_Recv(conn->ssl[num].handle, buf, (int)buffersize, 0,
> -1) in nss_recv() (nss.c) may be the problem. That sets the timeout
> for NSS to 4294967295.
>
> On Tue, May 7, 2013 at 1:57 PM, David Strauss <david_at_davidstrauss.net> wrote:
>> On Tue, May 7, 2013 at 1:46 PM, David Strauss <david_at_davidstrauss.net> wrote:
>>> NSS seems stuck in poll loop, which has been going on for hours
>>
>> Actually, I'm not sure it's NSS stuck there. The loop could be higher
>> up. I just see an unending series of polls from strace.
>>
>> --
>> David Strauss
>> | david_at_davidstrauss.net
>> | +1 512 577 5827 [mobile]
>
>
>
> --
> David Strauss
> | david_at_davidstrauss.net
> | +1 512 577 5827 [mobile]

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