curl-users
Re: curl & nss excessive initialization time
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Dec 2013 23:14:25 +0100 (CET)
Date: Thu, 12 Dec 2013 23:14:25 +0100 (CET)
On Thu, 12 Dec 2013, Kamil Dudka wrote:
> There is a hard-wired sleep for one second in the code that loads client
> certs:
>
> https://git.fedorahosted.org/cgit/nss-pem.git/tree/mozilla/security/nss/lib/ckfw/pem/pobject.c#n1203
Oh, there's indeed no doubt about the delay then! =)
The comment on line 1209 says it has to be there "so that NSS will notice that
the token was removed". That seems weird. Is there some time stamp code with
integer seconds in use or what could it be that would need time to pass when
we're not using threads?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-12-12