diff src/org/eclipse/jetty/server/AsyncHttpConnection.java @ 934:fe461f7cfc8e

simplify AsyncContinuation
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 21:03:00 -0600
parents 23a57aad34c0
children 1094975d013b
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Sun Oct 09 20:25:02 2016 -0600
+++ b/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Sun Oct 09 21:03:00 2016 -0600
@@ -175,7 +175,7 @@
     public void onInputShutdown() throws IOException
     {
         // If we don't have a committed response and we are not suspended
-        if (_generator.isIdle() && !_request.getAsyncContinuation().isSuspended())
+        if (_generator.isIdle())
         {
             // then no more can happen, so close.
             _endp.close();