Who can tell me why this happened? Does openssl in WinXP really just support 16 threads?
Regards, Kurt. >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of zhuxian >Sent: Wednesday, September 05, 2007 2:13 PM >To: openssl-users@openssl.org >Cc: [EMAIL PROTECTED] >Subject: why winxp openssl based server can only accept 16 client? > >I write an openssl based multi-threads server program. But it >can only support 16 thread on the WinXP. Exceeding that, the >SSL_accept() will failed. I use the >InitializeCriticalSection/EnterCriticalSection/LeaveCriticalSec >tion to do the thread lock. >And i also compiled the program with /MD. > >I compile the same program in Linux Suse, just changing to the >pthread locking mechnism. It's working fine with 1024 threads. > >Who can tell me what happened? Which compile option I should add? > >Regards, >Kurt. > > >______________________________________________________________________ >OpenSSL Project http://www.openssl.org >User Support Mailing List openssl-users@openssl.org >Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]