Re: Using SSL_read and SSL_write on parallel threads

2019-12-11 Thread Viktor Dukhovni
On Wed, Dec 11, 2019 at 04:36:20PM +0530, Raja Ashok wrote: > A TLS server application spawns 2 thread and handles 'n' number of TLS > clients. All connections SSL_read operations are performed on one thread > and SSL_write on another thread. To achieve this currently I lock the `SSL` > connection

Using SSL_read and SSL_write on parallel threads

2019-12-11 Thread Raja Ashok
Hi All, A TLS server application spawns 2 thread and handles 'n' number of TLS clients. All connections SSL_read operations are performed on one thread and SSL_write on another thread. To achieve this currently I lock the `SSL` connection handle. This application uses TLSv1.2 and TLSv1.3. My ques