On Wed, 06 Dec 2006 09:42:04 +0100
Frank <[EMAIL PROTECTED]> wrote:

> William A. Rowe, Jr. wrote:
> > Nick Kew wrote:
> > [...]
> >>Is OpenSSL not thread-safe?
> > 
> > 
> > An SSL_CTX can't be cross-threaded.  If the scope of use of that
> > CTX is restricted to one thread at a time, then yes, OpenSSL has
> > been threadsafe for a very very long time.
> 
> You mean if I were able to create one SSL_CTX for every thread then I
> do not have to use the both thread-safe-maker callbacks?

Unless OpenSSL nomenclature is rather confusing here, an SSL_CTX
sounds like the kind of thing you would instantiate per-connection
or per-request.  Does your module act on a request or a connection?

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Reply via email to