summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-01-23 00:24:22 +0000
committerMarc Laukien <marc@zeroc.com>2004-01-23 00:24:22 +0000
commit95abc01d22f73ea5ea0621f100b0c176b68aa344 (patch)
treec3c749871eec09b0af2c7aecbb90465a91ca8adf /cpp/src
parentAdded extra file integrity checks to icepatchclient. (diff)
downloadice-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.cpp8
-rw-r--r--cpp/src/IceSSL/SslTransceiver.cpp12
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