cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: thread safe use of openssl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 17 Dec 2003 11:13:17 +0100 (CET)

On Tue, 16 Dec 2003 jose.c.baars_at_nl.abnamro.com wrote:

> When I tried to run a slightly adapted version of multithread.c out of the
> examples with https url's it failed miserably on our VMS test system.
>
> I got 6, unable to resolve host ( how do you build curl with ares
> support??)

lib/README.ares has the details for that.

> Btw. the OpenSSL docu is rather blunt. It says at least the 2 static locking
> routines should be provided when running OpenSSL in a multithreaded
> environment.

So it seems. Still, the correct way to fix this is to make use of the share
interface to set lock and unlock functions and then make sure the libcurl code
correctly use them internally.

Do not hold your breath waiting for me to implement this, I'm up to my ears in
work already and the level is rising... I need help.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-17