RE: Non-blocking windows socket cause SSL_accept error (SSL_ERROR_WANT_READ)

2008-11-26 Thread BiGNoRm6969
Is it possible to configure OpenSSL to allow the use of a non-blocking socket ? I red things about BIO* object but I am not sure if it's the good way to do it. Thanks. Normand David Schwartz wrote: SSL_accept always returns 0 error. With SSL_get_error I found that the error is

RE: Non-blocking windows socket cause SSL_accept error (SSL_ERROR_WANT_READ)

2008-11-24 Thread David Schwartz
SSL_accept always returns 0 error. With SSL_get_error I found that the error is SSL_ERROR_WANT_READ. During debugging and troubleshooting, I realised that when I use normal blocking windows socket, SSL_accept works fine. Why using non-blocking windows socket caused that error ? This is