summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/TransceiverI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/TransceiverI.cpp')
-rw-r--r--cpp/src/IceSSL/TransceiverI.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/TransceiverI.cpp b/cpp/src/IceSSL/TransceiverI.cpp
index 597faa8e923..3fde67ef906 100644
--- a/cpp/src/IceSSL/TransceiverI.cpp
+++ b/cpp/src/IceSSL/TransceiverI.cpp
@@ -622,6 +622,13 @@ IceSSL::TransceiverI::write(IceInternal::Buffer& buf)
IceInternal::SocketOperation
IceSSL::TransceiverI::read(IceInternal::Buffer& buf, bool&)
{
+ //
+ // Note: we don't set the hasMoreData flag in this implementation.
+ // We assume that OpenSSL doesn't read more SSL records than
+ // necessary to fill the requested data and that the sender sends
+ // Ice messages in individual SSL records.
+ //
+
if(_state == StateProxyConnectRequestPending)
{
//