Re: Multithreading and SSL

2003-07-24 Thread Jue (Jacky) Shu
There is a multi-thread example on book "Network Security with OpenSSL". Chapter 5. Jacky On 2003-07-24 at 09:15, Michiels Olivier wrote: > 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 > wit

RE: Multithreading and SSL

2003-07-24 Thread Henry Su
 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 Mess