summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/TcpTransceiver.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-02-08 11:52:07 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-02-08 11:52:07 +0000
commitf9e2a89ee7973392d22a39cb2cd8e28f02b56347 (patch)
tree23e50ccf89cc68d98f7c6f1e38142cfabb99bafa /java/src/IceInternal/TcpTransceiver.java
parentFix (diff)
downloadice-f9e2a89ee7973392d22a39cb2cd8e28f02b56347.tar.bz2
ice-f9e2a89ee7973392d22a39cb2cd8e28f02b56347.tar.xz
ice-f9e2a89ee7973392d22a39cb2cd8e28f02b56347.zip
Bug 1739
Diffstat (limited to 'java/src/IceInternal/TcpTransceiver.java')
-rw-r--r--java/src/IceInternal/TcpTransceiver.java28
1 files changed, 18 insertions, 10 deletions
diff --git a/java/src/IceInternal/TcpTransceiver.java b/java/src/IceInternal/TcpTransceiver.java
index b0f8fc3ba6c..e2af6f90a6b 100644
--- a/java/src/IceInternal/TcpTransceiver.java
+++ b/java/src/IceInternal/TcpTransceiver.java
@@ -89,16 +89,15 @@ final class TcpTransceiver implements Transceiver
catch(java.net.SocketException ex)
{
//
- // Ignore errors indicating that we are shutdown already.
+ // Ignore. We can't reliably figure out if the socket
+ // exception is because the socket is not connected.
//
- if(Network.notConnected(ex))
- {
- return;
- }
-
- Ice.SocketException se = new Ice.SocketException();
- se.initCause(ex);
- throw se;
+ // if(!Network.notConnected(ex))
+ // {
+ // Ice.SocketException se = new Ice.SocketException();
+ // se.initCause(ex);
+ // throw se;
+ // }
}
catch(java.io.IOException ex)
{
@@ -126,7 +125,16 @@ final class TcpTransceiver implements Transceiver
}
catch(java.net.SocketException ex)
{
- // Ignore.
+ //
+ // Ignore. We can't reliably figure out if the socket
+ // exception is because the socket is not connected.
+ //
+ // if(!Network.notConnected(ex))
+ // {
+ // Ice.SocketException se = new Ice.SocketException();
+ // se.initCause(ex);
+ // throw se;
+ // }
}
catch(java.io.IOException ex)
{