On Sun, Apr 04, 2010, Adam Grossman wrote:

> hello,
> 
> is there a way i can set a timeout for an SSL_accept, either if the
> handshake does not complete within X seconds (prefered), or even if it
> is waiting on a blocking socket and no data comes in for X seconds.  I
> know i can use alarms, but i was wondering (hoping), there was a
> mechanism already built into the OpenSSL APIs.
> 

The only way to reliably do this is with non-blocking I/O at the application
level. 

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to