On Fri, Oct 23, 2009 at 09:15:35AM -0700, Jason Pettiss wrote:

> We could take turns sending discrete pieces of each file but that's silly and 
> slow.
> 
> Assuming we can load these gigantic files into memory to make the example 
> simpler, we could both do this to write:

It is possible to use non-blocking SSL_read() SSL_write() calls that
are interleaved, but not without a mutex or a separate thread that
owns all SSL I/O that consumes requests to read/write.

It is simpler to use two SSL connections. SSL is a state-machine, not a pipe.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to