> Hi David,
> 
> Thanks for your sound replay :)
> I'll take care of this caveat in action...
> 
> I understand that the same scenario would be applicable in the 
> case of multiple threads handling the same fd even though we 
> managed to get it synchronized using some mutex.
> 
> Please correct me if I'm wrong :)

That is correct, and either approach is perfectly fine. You just need to
make sure you don't have a case where two threads operate on the same SSL
connection at the same time. For example, an 'SSL_read' in one thread may
not overlap an 'SSL_write' in another thread on the same underlying
connection.

DS

<<attachment: winmail.dat>>

Reply via email to