summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpTransceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/TcpTransceiver.cpp')
-rw-r--r--cpp/src/Ice/TcpTransceiver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/TcpTransceiver.cpp b/cpp/src/Ice/TcpTransceiver.cpp
index 6b57e537bff..c3176d3d28a 100644
--- a/cpp/src/Ice/TcpTransceiver.cpp
+++ b/cpp/src/Ice/TcpTransceiver.cpp
@@ -201,8 +201,8 @@ IceInternal::TcpTransceiver::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 = 0;
@@ -269,8 +269,8 @@ IceInternal::TcpTransceiver::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 = getSocketErrno();