Bill wrote,
>It may be significant to note that the threads don't even have to actually
>establish any SSL connections for the problem to occur. Even if I just
>initialize the OpenSSL library and use clear-text sockets for the test, the
>problem happens. [It also happens when I DO use SSL connections].
>
>It just looks like a missing lock call somewhere in the lh code.
Hi, Bill,
Do you initialize the OpenSSL library by calling SSLeay_add_ssl_algorithms()
/OpenSSL_add_ssl_algorithms() for each thread? If you do that, you may
possibly suffer from what you said, i.e. a missing lock somewhere in the lh
code. It seems that these two APIs are not reentrant, and programmers are
asked to call them only once.
Regards,
Winston Li
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]