Hi,

on AIX (64bit) I noticed a major problem with non-blocking sockets. 
Methods SSL_connect(), SSL_read() and SSL_write() should return 
SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE if they need to complete 
their tasks but the socket couldn't handle all the work.

But instead, the methods return SSL_ERROR_SYSCALL when the underlying 
socket gave errno=EWOULDBLOCK or errno=EAGAIN (means: the application 
should retry with these functions if it has not been completed, yet) 
from their respective functions (read() and write()).

For these specific system error numbers, the SSL functions should return 
SSL_ERROR_WANT_* return codes, shouldn't they?

Regards

Ralph Schuster

PS: However, on AIX 4.2 and earlier, this didn't seem to be a problem. 
Funny, isn't it? (But these versions are not supported by IBM anymore!)

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to