diff src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java @ 965:866f2e801618

handle() returns void
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 02:19:21 -0600
parents 768414c16e10
children 8a8dc0b1742f
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java	Fri Oct 14 01:03:47 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java	Fri Oct 14 02:19:21 2016 -0600
@@ -345,14 +345,7 @@
 		{
 			try
 			{
-				while(true)
-				{
-					final AsyncConnection next = (AsyncConnection)_connection.handle();
-					if (next==_connection)
-						break;
-					LOG.debug("{} replaced {}",next,_connection);
-					_connection=next;
-				}
+				_connection.handle();
 			}
 			catch (ClosedChannelException e)
 			{
@@ -401,10 +394,6 @@
 		}
 	}
 
-	/* ------------------------------------------------------------ */
-	/*
-	 * @see org.eclipse.io.nio.ChannelEndPoint#close()
-	 */
 	@Override
 	public void close() throws IOException
 	{