Hi,

On 8/16/06, David Schwartz <[EMAIL PROTECTED]> wrote:
[...]  The SSL engine may have already read the data and your
'select' may block forever. You should only wait for 'select' to give you
read hit before calling SSL_read if your last SSL operation returned a
WANT_READ indication.


According SSL_read manual [1], in non-blocking mode SSL_read() can
return SSL_ERROR_WANT_WRITE. In this, must I put the fd in the write
set of select? Is that right?

[1] http://www.openssl.org/docs/ssl/SSL_read.html#

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

Reply via email to