OpenSSLSocketImpl: Move state checks inside mutex
Checking the state of the connection is unreliable if SSL_read and SSL_write are happening in another thread. Move the state checks inside our application mutex so we don't run into another thread mutating the state at the same time. Bug: 15606096 (cherry picked from commit 0931d51c) Change-Id: I151ecbc57278374007a56827a65295b4c9476732
Showing
Please register or sign in to comment