Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 929:3191abe890ef
remove isInitial()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 19:13:46 -0600 |
parents | 23a57aad34c0 |
children | 6f7e2ff51879 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java Sun Oct 09 18:54:32 2016 -0600 +++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java Sun Oct 09 19:13:46 2016 -0600 @@ -416,8 +416,8 @@ // within the call to unhandle(). final Server server=_server; - boolean handling = _request._async.handling() && server!=null && server.isRunning(); - if(handling) + _request._async.handling(); + if(server!=null && server.isRunning()) { _request.setHandled(false); @@ -454,17 +454,9 @@ if (_out!=null) _out.reopen(); - if (_request._async.isInitial()) - { - _request.setDispatcherType(DispatcherType.REQUEST); - _connector.customize(_endp, _request); - server.handle(this); - } - else - { - _request.setDispatcherType(DispatcherType.ASYNC); - server.handleAsync(this); - } + _request.setDispatcherType(DispatcherType.REQUEST); + _connector.customize(_endp, _request); + server.handle(this); } catch (ContinuationThrowable e) {