On 2012-09-27 07:19 +0200 (Thu), [email protected] wrote:

> Once you are past the accept handshake, the reading and writing are
> unidirectional per thread and this should be possible to make
> work. But of course it is possible that a new handshake happens
> in midconnection.

As you point out, in the event of a handshake, it's not unidirectional
per thread. But the other thing to point out is that even if you never
have a read on an OpenSSL handle produce a write on the underlying
handle, or vice versa, it may still be the case that OpenSSL's internal
locking of data structures won't properly handle a simultaneous read on
one thread and write from a different thread.

cjs
-- 
Curt Sampson         <[email protected]>         +81 90 7737 2974

It is easier to write an incorrect program than understand a correct one.
    --Alan Perlis, Epigrams on Programming (#7)
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to