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

handle() returns void
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 02:19:21 -0600
parents 3cd4c706a61f
children 5ee36654b383
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SslConnection.java	Fri Oct 14 01:03:47 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/SslConnection.java	Fri Oct 14 02:19:21 2016 -0600
@@ -168,7 +168,7 @@
 	}
 
 	@Override
-	public Connection handle() throws IOException
+	public void handle() throws IOException
 	{
 		try
 		{
@@ -185,12 +185,7 @@
 					progress=process(null,null);
 
 				// handle the delegate connection
-				AsyncConnection next = (AsyncConnection)_connection.handle();
-				if (next!=_connection && next!=null)
-				{
-					_connection = next;
-					progress = true;
-				}
+				_connection.handle();
 
 				_logger.debug("{} handle {} progress={}", _session, this, progress);
 			}
@@ -215,8 +210,6 @@
 				}
 			}
 		}
-
-		return this;
 	}
 
 	public boolean isIdle()