Hi all,
 
I have some doubts about openssl and multithreaded environment. I will appreciate if you could help me understand this better.
It is said that openssl is thread-safe with a limitation that "an SSL connection may not concurrently be used by multiple threads"
I am not clear on this point. What is meant by "using SSL connection concurrently by multiple threads" ?
 
I read somewhere that an SSL object modifies and maintains its state during reads and writes. So if the same object is used in multiple threads concurrently, chances are that due to state mismatch, the read/write may fail. Could someone explain this in more details. I believe that multiple threads would share the same SSL object. So in fact, they will be using 'the same SSL object'. Is this understanding correct? If yes, what is the issue with using the same object in multiple threads?
 
I am struggling to understand this. Could someone make the picture more clear?
 
Thank you,
~ Urjit
 
DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.

Reply via email to