Michael Lee wrote:
In my multithreaded HTTPS server application running on Windows 2000,
SSL_accept() occasionally returns -1 and SSL_get_error() returns
SSL_ERROR_SYSCALL when there are many simultaneous connections. A rough
figure is about 1 SSL_ERROR_SYSCALL in every 100 SSL_accept(). Neither the
preceding calls to accept() or SSL_set_fd() indicate any error with the
socket.

What's errno? AFAIK whenever something returns SSL_ERROR_SYSCALL, errno should be set.


Or, on Windows, it's something like WSAGetLastError() I think, and WASExxx instead of just Exxx. Regardless, OpenSSL is just reporting a failed system call, so check for the error in the ordinary way for your platform.

Scott Lamb

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

Reply via email to