diff src/org/eclipse/jetty/server/AsyncHttpConnection.java @ 956:1094975d013b

remove setCheckForIdle()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 13 Oct 2016 18:11:01 -0600
parents fe461f7cfc8e
children 4b6216fa9cec
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Thu Oct 13 16:55:53 2016 -0600
+++ b/src/org/eclipse/jetty/server/AsyncHttpConnection.java	Thu Oct 13 18:11:01 2016 -0600
@@ -62,10 +62,6 @@
         {
             setCurrentConnection(this);
 
-            // don't check for idle while dispatched (unless blocking IO is done).
-            _asyncEndp.setCheckForIdle(false);
-
-
             // While progress and the connection has not changed
             while (progress && connection==this)
             {
@@ -150,9 +146,6 @@
             _parser.returnBuffers();
             _generator.returnBuffers();
 
-            // reenable idle checking unless request is suspended
-            _asyncEndp.setCheckForIdle(true);
-
             // Safety net to catch spinning
             if (some_progress)
                 _total_no_progress=0;