Sean O'Dell <[EMAIL PROTECTED]>:

> I'm using a single CTX for each SSL.  I perform the accept() in the main
> thread and then spawn a new thread.  In the new thread, I create a new SSL
> with the one common CTX, then perform SSL_accept, etc., including
> SSL_shutdown; all in the new thread.
> 
> Does that sound OK?

Yes.

You have to provide a number of mutexes to OpenSSL -- look at
the stunnel source for an example.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to