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
|
- Need help: Understanding SSL object in multi-threaded envi... Urjit Gokhale
- RE: Need help: Understanding SSL object in multi-thre... André Ziermann
- RE: Need help: Understanding SSL object in multi-... Mark
- Re: Need help: Understanding SSL object in mu... Urjit Gokhale
- RE: Need help: Understanding SSL object i... David Schwartz
- RE: Need help: Understanding SSL obj... Mark
- RE: Need help: Understanding SSL... David Schwartz
- RE: Need help: Understanding... Mark
- RE: Need help: Understanding... David Schwartz
- Re: Need help: Understanding... Kyle Hamilton
- RE: Need help: Understanding... Mark