diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/TcpTransceiver.cpp | 8 | ||||
-rw-r--r-- | cpp/src/IceSSL/SslTransceiver.cpp | 12 |
2 files changed, 10 insertions, 10 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(); 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 |