On Mon, 15 May 2006 21:40:22 -0400 (EDT), "Mikhail Kruk"
<[EMAIL PROTECTED]> said:
> > When using nonblocking BIO, can SSL_write(ssl, ...) be called right
> > after a SSL_read(ssl, ...) "returned" SSL_ERROR_WANT_READ/WRITE? Or vice
> > versa, please?
>
> Always assume that a non-blocking SSL_read and SSL_write can return both 
> WANT_READ and WANT_WRITE.  It's not as difficult as they want you to 
> think.
> 

The manual says SSL_read() should be repeated if a previous one returned
WANT_READ/WRITE. And, I meant, can SSL_write() be called before this
repeating is done, please?

Thanks.

Regards,
Wei

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web

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

Reply via email to