That should not be a problem. Once the connection is established, you can use SSL_read and SSL_write to do it. I had multi-thread SSL server/clients, there's no problem for me to do it. You might to need to catch SSL_read/write exceptions and do retries.
 
Good luck.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Michiels Olivier
Sent: Thursday, July 24, 2003 6:16 AM
To: Openssl
Subject: Multithreading and SSL

Hi,
I would to have a multithreaded server that accepts ssl connections.

My main thread accepts the ssl connection and then creates a new thread with the ssl connection as argument.

The thread will communicate with a client. The problem is the following,
the connection is well made but the thread is unable to read or write through ssl.
Is there a special way to handle multithreading with SSL ?

Thanks,
Michiels Olivier

Reply via email to