I'm trying to integrate OpenSSL into an existing IO abstraction library
we use in-house. This library can function either in blocking or
non-blocking mode. I'm clear on how to proceed with blocking mode but
have a few questions on non-blocking mode before I get to deep into the
code. I've read the docs and the sample code but still couldn't find my
answers.
1) I see that SSL_write and SSL_read can result in errors
SSL_ERROR_WANT_READ/WRITE. Since this is the case, can I have
simultaneous outstanding SSL_reads and SSL_writes? That is, if I call
SSL_read and it results in SSL_ERROR_WANT_WRITE can I go ahead and call
SSL_write or should I wait for SSL_read to return success? (and vice
versa)
2) Can SSL_shutdown result in WANT_READ/WRITE?
Details:
We're using OpenSSL 0.9.5 on Solaris 2.6.
Thanks for your help.
Jeremy Bennett
DreamCast Network
SegaSoft Networks Inc.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]