diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 928:23a57aad34c0

remove isAsync()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 18:54:32 -0600
parents 5c9cb5d00512
children 3191abe890ef
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 09 18:34:24 2016 -0600
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 09 18:54:32 2016 -0600
@@ -416,8 +416,8 @@
 			// within the call to unhandle().
 
 			final Server server=_server;
-			boolean handling=_request._async.handling() && server!=null && server.isRunning();
-			while (handling)
+			boolean handling = _request._async.handling() && server!=null && server.isRunning();
+			if(handling)
 			{
 				_request.setHandled(false);
 
@@ -504,7 +504,7 @@
 				}
 				finally
 				{
-					handling = !_request._async.unhandle() && server.isRunning() && _server!=null;
+					_request._async.unhandle();
 				}
 			}
 		}