curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL error when using libcurl with fork in child and parent

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 16 Jun 2017 10:13:03 +0200 (CEST)

On Thu, 15 Jun 2017, joseph galois via curl-library wrote:

> Then, the questions is: Is there a way to instruct libcurl so that I can use
> it safely at both parent and children with nss?

This seems to be an NSS problem and not strictly a libcurl problem. Googling
for "nss fork child" shows many instances of this being a problem to people.

I ended up on this NSS bug entry which I think is related, and mentions a fix
in 3.28: https://bugzilla.mozilla.org/show_bug.cgi?id=1263017

... and since you showed you're using NSS 3.21.3, my guess is that you need to
do a major version bump to get this situation improved. But I think the best
way forward is to ask the question specificly to the NSS team as they're the
ones who will know for sure.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-06-16