diff options
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) { |