Balazs Scheidler, 2006-03-31:

> The problem with
> the current situation is that everything _seems_ to work well, but
> whenever load hits the application it crashes and it is not easy to
> debug especially when one is looking for an error in his own code :)

IMHO, the sooner the problem is detected, the better. Even if this
implies a brutal crash of the application. 

On Linux, the current CRYPTO_thread_id() behavior with multithreaded
applications hides the fact that the application is *broken*. For 
example, MySQL with OpenSSL has been broken *for years*. The problem was
much more harder to trigger on Linux, because of the default 
CRYPTO_thread_id() behavior. Platforms without the getpid() <-> 
pthread_self() bijection (Solaris, NetBSD >= 2, ...) happily crashed
sooner, and more importantly: the problem gets fixed sooner, as well.

Leandro
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to