Rick W. Porter <[EMAIL PROTECTED]>:

> I'm trying to create a non-blocking server that will service
> multiple connections at a time.  [...] I registered a callback
> function with my socket manager library that is called when there is
> a read event (after the underlying non-blocking TCP connection is
> accepted).  The callback function is called, but it's call to
> SSL_do_handshake(ssl) does NOT return to my main events loop
> (e.g. it blocks) until it completes.

So you are not using non-blocking mode for the sockets.  OpenSSL does
not block unless the read() or write() calls (or application-defined
callback functions) do.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to