diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-01-29 09:17:10 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-01-29 09:17:10 +0100 |
commit | 2a6d3406fe051b8142a8578ebd4b76fa004382fd (patch) | |
tree | 644a595298c0e9e2a3f50326eed0a0096dd2bdf4 /cpp/src/IceSSL/SChannelTransceiverI.cpp | |
parent | Got rid of calls to SSL_get_fd in OpenSSL IceSSL transport (diff) | |
download | ice-2a6d3406fe051b8142a8578ebd4b76fa004382fd.tar.bz2 ice-2a6d3406fe051b8142a8578ebd4b76fa004382fd.tar.xz ice-2a6d3406fe051b8142a8578ebd4b76fa004382fd.zip |
Removed invalid whitespace, add comment for SChannel transceiver fix
Diffstat (limited to 'cpp/src/IceSSL/SChannelTransceiverI.cpp')
-rw-r--r-- | cpp/src/IceSSL/SChannelTransceiverI.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/SChannelTransceiverI.cpp b/cpp/src/IceSSL/SChannelTransceiverI.cpp index eea97189df1..ec9562d4153 100644 --- a/cpp/src/IceSSL/SChannelTransceiverI.cpp +++ b/cpp/src/IceSSL/SChannelTransceiverI.cpp @@ -384,7 +384,11 @@ SChannel::TransceiverI::sslHandshake() } // - // Check if the requested capabilities are met + // Check if the requested capabilities are met. + // + // NOTE: it's important for _ctxFlags to be a data member. The context flags might not be checked immediately + // if the last write can't complete without blocking above. In such a case, the context flags are checked here + // only once the sslHandshake is called again after the write completes. // if(flags != _ctxFlags) { |