comparison 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
comparison
equal deleted inserted replaced
955:6f49b8dfffe6 956:1094975d013b
59 boolean progress=true; 59 boolean progress=true;
60 60
61 try 61 try
62 { 62 {
63 setCurrentConnection(this); 63 setCurrentConnection(this);
64
65 // don't check for idle while dispatched (unless blocking IO is done).
66 _asyncEndp.setCheckForIdle(false);
67
68 64
69 // While progress and the connection has not changed 65 // While progress and the connection has not changed
70 while (progress && connection==this) 66 while (progress && connection==this)
71 { 67 {
72 progress=false; 68 progress=false;
148 144
149 // return buffers 145 // return buffers
150 _parser.returnBuffers(); 146 _parser.returnBuffers();
151 _generator.returnBuffers(); 147 _generator.returnBuffers();
152 148
153 // reenable idle checking unless request is suspended
154 _asyncEndp.setCheckForIdle(true);
155
156 // Safety net to catch spinning 149 // Safety net to catch spinning
157 if (some_progress) 150 if (some_progress)
158 _total_no_progress=0; 151 _total_no_progress=0;
159 else 152 else
160 { 153 {