changeset 902:769040d68b0a

remove connectionOpened()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 07 Oct 2016 00:19:53 -0600
parents d9a12a7339a6
children 94f5d8a62385
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, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Connector.java	Fri Oct 07 00:17:26 2016 -0600
+++ b/src/org/eclipse/jetty/server/Connector.java	Fri Oct 07 00:19:53 2016 -0600
@@ -516,11 +516,6 @@
 	}
 
 	/* ------------------------------------------------------------ */
-	protected void connectionOpened(Connection connection)
-	{
-	}
-
-	/* ------------------------------------------------------------ */
 	protected void connectionClosed(Connection connection)
 	{
 		connection.onClose();
--- a/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java	Fri Oct 07 00:17:26 2016 -0600
+++ b/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java	Fri Oct 07 00:19:53 2016 -0600
@@ -274,7 +274,6 @@
 			try
 			{
 				_timeout=getMaxIdleTime();
-				connectionOpened(_connection);
 				_endpoints.add(this);
 
 				while (isOpen())
--- a/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 07 00:17:26 2016 -0600
+++ b/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java	Fri Oct 07 00:19:53 2016 -0600
@@ -298,8 +298,6 @@
 		@Override
 		protected void endPointOpened(SelectChannelEndPoint endpoint)
 		{
-			// TODO handle max connections and low resources
-			connectionOpened(endpoint.getConnection());
 		}
 
 		@Override