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@
Hi,
I think you needn't lock the SSL_connect/SSL_accept. It's too low efficient.
You just have to set the lock callback using:
CRYPTO_set_locking_callback(pthread_lock_handler);
CRYPTO_set_id_callback(id_handler);
It works fine in linux. But it does not in WinXP. I was puzzled with
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/LeaveCriticalSection to do
the thread lock.
And i also compiled the program with /MD.
I co