> I understand that ICS is thread safe when sending data because 
> adding and removing data to send buffers are locked with critical
> sections..  but maybe OpenSSL does not like when we send data
> from two different threads?

OpenSSL is thread safe, or at least has been in the past, I've tested
an FTP application sending hundreds of SSL sessions each using a
separate thread.  

But OpenSSL has changed a lot in the last two years, there is a ICS
unit OverbyteIcsSslThrdLock which used to provide OpenSSL with thread
locking for 1.0.2 and earlier, but is no longer used for 1.1.0 and
later since OpenSSL does locking internally.  

I've not tested heavy thread use for a while, since it is rarely
necessary with ICS, it just complicates applications and introduces
problems. 

Which OpenSSL and ICS versions are you using?

Angus
 



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to