cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL error after fork()

From: anon anon <anonemailforward15466_at_gmail.com>
Date: Sun, 17 Mar 2013 13:02:33 -1000

oops, I pressed send too soon...

lol, I put the ___ so I wouldn't forget to put the version number after
`yum info openssl` finished loading. I guess it didn't work... Openssl
version is 1.0.1e, which is the lastest.

I'll be sure to let you guys know if anyone finds a solution to my
stackoverflow question.

On Sun, Mar 17, 2013 at 12:59 PM, anon anon <anonemailforward15466_at_gmail.com
> wrote:

> I tried that (calling global_init), no change at all.
>
>
> On Sun, Mar 17, 2013 at 12:53 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
>> On Sun, 17 Mar 2013, anon anon wrote:
>>
>> I'm getting an SSL error in the child process after calling fork(). I
>>> made a short program that can reproduce it. Basically, if I make an https
>>> request, call fork and return the parent process, and then make a second
>>> https request, curl_easy_perform returns 35.
>>>
>>
>> Hm, what happens if you call global_init() in the parent/child after the
>> fork and then try the libcurl calls? It seems your problem is related to
>> OpenSSL and I don't know how well it handles fork() or what requirements it
>> then puts on the application...
>>
>>
>> I'm using libcurl version 7.29.0 and openssl version ___.
>>>
>>
>> That's a strange OpenSSL version!
>>
>>
>> For more details, see my stackoverflow question:
>>>
>>
>> Please keep details on the list to get help from people on the list!
>>
>> --
>>
>> / daniel.haxx.se
>> ------------------------------**------------------------------**-------
>> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
>> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>>
>
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-18