Bodo,
Thanks for the response.
Bodo Moeller wrote:
>
> Chris Bamford <[EMAIL PROTECTED]>:
>
> > I wonder if anyone can help? I am getting occasional core dumps
> > when using SSL_CTX_free() in a multi-threaded application.
> [...]
>
> Do you provide mutexes to the library? For multi-threaded applications,
> the following calls are required in initialization:
>
> CRYPTO_set_id_callback(id_callback);
> CRYPTO_set_locking_callback(locking_callback);
>
Hmmm. Please bear with me. I have tried to code around the need for
serialisation of any kind because I'm trying to recreate a large number
of
simultaneous hits on this web server. I create one global SSL_CTX
structure
as a shared resource. I then launch the threads which all create their
own
SSL structures based on the global SSL_CTX structure. As this is a
"read-
only" access of the SSL_CTX structure, do I really need mutexes?
Thanks for helping me with this!
Regards,
-- Chris
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chris Bamford
Contract Web Developer
ntli
Email: [EMAIL PROTECTED]
Tel: 01256-752705
Mbl: 0467 844317
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]