> The problem is that SSL_write() sometimes returns SSL_ERROR_SSL with
> errno equal to EAGAIN. Calling SSL_write() again seems to solve the
> problem. I have the impression that SSL_write() should return
> SSL_ERROR_WANT_WRITE in this situation.

> * the underlying socket is blocking

It sounds like you're trying to get some kind of fake halfway-non-blocking
operation. This never works quite right. Either use blocking operations on
blocking sockets or non-blocking operations on non-blocking sockets.

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to