cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: OpenSSL multi-threading

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 11 Oct 2004 08:47:08 +0200 (CEST)

On Sat, 9 Oct 2004, dfg sdf wrote:

> this: "dyn_create_function(const char *file, int line) is needed to create a
> lock. Multi-threaded applications might crash at random if it is not set."
> from the openssl website I think that may be the cause, however I don't know
> what "setting" that function means, nor how to set it.

As the page you mentioned says, you should set at least a locking function and
a id function and the functions that do this are called
CRYPTO_set_locking_callback() and CRYPTO_set_id_callback().

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-10-11