Hi,

I would say openssl is not thread-safe per se, but you can deal with it. 
Write wrappers around the malloc/free functions to use shared memory,
to share objects among threads. Write thread-safe functions around the
ssl functions you need to access from multiple threads ...
For example code, openser.org comes to mind. In this sip proxy, tls
connections are used among various threads to send data ... take a
look, it may help.

Regards,

Cesc

On 8/28/05, Dusty Hendrickson <[EMAIL PROTECTED]> wrote:
> I am currently working on a project making use of SSL
> connections via OpenSSL.  We need a stable thread-safe
> SSL setup.  I currently know 3 things about OpenSSL
> thread-safety:
> 
> 1. Cannot share SSL connection amongst threads
> 2. Provide locking_function()
> 3. Provide id_function()
> 
> I am interested in hearing about any scenarios where
> SSL cannot be threaded, or any further steps to take
> to make it thread-safe.  Any feedback would be
> appreciated.  Thanks
> 
> Dusty
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to