changeset 903:94f5d8a62385

remove connectionClosed()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 07 Oct 2016 00:23:00 -0600
parents 769040d68b0a
children 5d9b213aaed0
files src/org/eclipse/jetty/server/Connector.java src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java src/org/eclipse/jetty/server/nio/SelectChannelConnector.java
diffstat 3 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Connector.java	Fri Oct 07 00:19:53 2016 -0600
+++ b/src/org/eclipse/jetty/server/Connector.java	Fri Oct 07 00:23:00 2016 -0600
@@ -516,12 +516,6 @@
 	}
 
 	/* ------------------------------------------------------------ */
-	protected void connectionClosed(Connection connection)
-	{
-		connection.onClose();
-	}
-
-	/* ------------------------------------------------------------ */
 	public final boolean isLowResources()
 	{
 		return server.isLowOnThreads();
--- a/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java	Fri Oct 07 00:19:53 2016 -0600
+++ b/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java	Fri Oct 07 00:23:00 2016 -0600
@@ -322,7 +322,7 @@
 			}
 			finally
 			{
-				connectionClosed(_connection);
+				_connection.onClose();
 				_endpoints.remove(this);
 
 				// wait for client to close, but if not, close ourselves.
--- a/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 07 00:19:53 2016 -0600
+++ b/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 07 00:23:00 2016 -0600
@@ -268,7 +268,7 @@
 	/* ------------------------------------------------------------------------------- */
 	protected void endPointClosed(SelectChannelEndPoint endpoint)
 	{
-		connectionClosed(endpoint.getConnection());
+		endpoint.getConnection().onClose();
 	}
 
 	/* ------------------------------------------------------------------------------- */