summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslTransceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r--cpp/src/IceSSL/SslTransceiver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp
index c18256313dc..eb42d4d938f 100644
--- a/cpp/src/IceSSL/SslTransceiver.cpp
+++ b/cpp/src/IceSSL/SslTransceiver.cpp
@@ -242,8 +242,8 @@ IceSSL::SslTransceiver::read(Buffer& buf, int timeout)
// send() or select() sometimes don't detect a connection
// loss. Therefore this helper to make them detect it.
//
- assert(_fd != INVALID_SOCKET);
- shutdownSocket(_fd);
+ //assert(_fd != INVALID_SOCKET);
+ //shutdownSocket(_fd);
ConnectionLostException ex(__FILE__, __LINE__);
ex.error = getSocketErrno();
@@ -261,8 +261,8 @@ IceSSL::SslTransceiver::read(Buffer& buf, int timeout)
// socket if the connection is lost while reading
// data.
//
- assert(_fd != INVALID_SOCKET);
- shutdownSocket(_fd);
+ //assert(_fd != INVALID_SOCKET);
+ //shutdownSocket(_fd);
ConnectionLostException ex(__FILE__, __LINE__);
ex.error = 0;
@@ -287,8 +287,8 @@ IceSSL::SslTransceiver::read(Buffer& buf, int timeout)
// socket if the connection is lost while reading
// data.
//
- assert(_fd != INVALID_SOCKET);
- shutdownSocket(_fd);
+ //assert(_fd != INVALID_SOCKET);
+ //shutdownSocket(_fd);
// Indicates that that the SSL Connection has been closed.
// But does not necessarily indicate that the underlying transport