RE: Multiple accept threads - failure

2001-11-26 Thread Andy Schneider
I think I have this sussed. Calls to methods that manipulate SSL_CTX aren't always thread safe and I was assuming they were (without checking - doh!). Andy S. > -Original Message- > From: Andy Schneider > Sent: 26 November 2001 13:19 > To: [EMAIL PROTECTED] > Subj

Multiple accept threads - failure

2001-11-26 Thread Andy Schneider
Folks, I have a test program that puts down 60 threads. 30 server threads that put down listens () and 30 client threads that do connects (). I find that some of the threads fail (openssl-0.9.6b-engine - Solaris 2.8 - 2 CPU box) with ret code -1 in SSL_accept. SSL_get_error yields 0 and errno is