> 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()

        You can share SSL connections amongst threads. You just can’t have two
threads access the same SSL connection at the same time. With a normal TCP
connection, you can call ‘read’ and ‘write’ at the same time from two
different threads. With an SSL connection, you cannot. Otherwise, SSL
connections are thread safe in the sense that you don’t have to always
access them from the same thread.

        DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to