RE: Is OpenSSL thread-safe?

1999-12-15 Thread Ambarish Malpani
to threading. Regards, Ambarish -Original Message- From: Sean O'Dell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 14, 1999 12:00 PM To: [EMAIL PROTECTED] Subject: Is OpenSSL thread-safe? Thread question: I have a threaded listen server that works well without the OpenSSL

Re: Is OpenSSL thread-safe?

1999-12-15 Thread Bodo Moeller
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

Is OpenSSL thread-safe?

1999-12-14 Thread Sean O'Dell
Thread question: I have a threaded listen server that works well without the OpenSSL library. I've managed to convert it to use OpenSSL, but I'm curious what the threading issues are. In particular: I'm using a single CTX for each SSL. I perform the accept() in the main thread and then spawn

Re: Is OpenSSL thread safe?

1999-10-26 Thread Bodo Moeller
Hannes Reinecke [EMAIL PROTECTED]: [...] I've been using OpenSSL for about 1 year now in a multi-threaded application without any problems and special precautions. You do need special precautions -- callbacks for mutexes and for querying the thread ID.

Re: Is OpenSSL thread safe?

1999-10-13 Thread Hannes Reinecke
Markus Wasserschaff wrote: Hi, is it safe to user OpenSSL in multi-threaded environments? Let's say in my application multiple threads setup ssl connections to the same host(or different hosts). Are there any global data structures that have to be protected or does OpenSSL handle