But in code of mod_ssl, there is a timeout for SSL_accept. And it use 
set_callback_and_alarm which is a API of Apache. With this function it is in a very 
graceful style. I have then read the code for Apache, but can not find what does the 
function do in Windows enviroment.(In unix it use signal to set a handler). Does 
anyone know it?
Thanks.

zhang

>Actually you can make SSL_accept non block by using non blocking sockets and >using  \
>SSL_do_handshake. First You need to set state in SSL structure as accept state >with \
>SSL_set_accept_state

>sarma

-------------------------------------
��ӭʹ�ñ����籨�ֵ���ѵ����ʼ�ϵͳ!
 http://btamail.net.cn  or http://mail.bta.net.cn
�ͷ����ĵ绰��223 ����ѣ�
��ӭ��169����,�绰:169,�û���:169,����:169.

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

Reply via email to