diff options
author | Marc Laukien <marc@zeroc.com> | 2004-01-23 00:24:22 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-01-23 00:24:22 +0000 |
commit | 95abc01d22f73ea5ea0621f100b0c176b68aa344 (patch) | |
tree | c3c749871eec09b0af2c7aecbb90465a91ca8adf /cpp/src | |
parent | Added extra file integrity checks to icepatchclient. (diff) | |
download | ice-95abc01d22f73ea5ea0621f100b0c176b68aa344.tar.bz2 ice-95abc01d22f73ea5ea0621f100b0c176b68aa344.tar.xz ice-95abc01d22f73ea5ea0621f100b0c176b68aa344.zip |
removed shutdown() stuff again
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 |