Here are the PR_Recv API docs [1]. Also, according to the PRIntervalTime docs [2], it should be invoked with PR_INTERVAL_NO_TIMEOUT for no timeout. PR_INTERVAL_NO_TIMEOUT is equivalent to the current value of -1.
[1] https://developer.mozilla.org/en-US/docs/PR_Recv [2] https://developer.mozilla.org/en-US/docs/PRIntervalTime On Tue, May 7, 2013 at 2:14 PM, David Strauss <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> wrote: >>> On Tue, May 7, 2013 at 1:46 PM, David Strauss <[email protected]> >>> 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 >>> | [email protected] >>> | +1 512 577 5827 [mobile] >> >> >> >> -- >> David Strauss >> | [email protected] >> | +1 512 577 5827 [mobile] > > > > -- > David Strauss > | [email protected] > | +1 512 577 5827 [mobile] -- David Strauss | [email protected] | +1 512 577 5827 [mobile] ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
