From c6665c228af28501334bee7fad1b2440a44f2095 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 19 May 2011 21:27:57 +0000 Subject: [PATCH] Removed output shutdown from close(). Since we now support correctly output shutdown, this is not needed anymore. git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3216 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../org/eclipse/jetty/io/nio/ChannelEndPoint.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/ChannelEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/ChannelEndPoint.java index 56202e4bc15..707b67d06ae 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/ChannelEndPoint.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/ChannelEndPoint.java @@ -139,17 +139,6 @@ public class ChannelEndPoint implements EndPoint */ public void close() throws IOException { - if (_socket!=null && !_socket.isOutputShutdown()) - { - try - { - _socket.shutdownOutput(); - } - catch (IOException x) - { - Log.ignore(x); - } - } _channel.close(); }