Hi,

It is unsafe to access SSL context from 2 different threads. When you
call SSL_write function, the SSL context object state is changed.
Probably you can end up in case that data is not delivered to the peer.

Kris

On Tue, 2014-09-30 at 13:46 +0000, S P, Swaroop (NSN - IN/Bangalore)
wrote:
> Hi,
>  
> We have a use-case where multiple threads are required to use the same
> SSL context [created using SSL_new()] and do a ssl_write().
> So, there might be a scenario where two threads (or more) can be doing
> a ssl_write() on the same SSL context at exactly the same time.
> Is this safe?
> Is the data delivered properly to the peer?
>  
> Regards,
> Swaroop
>  


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to