367716 simplified maxIdleTime logic
This commit is contained in:
parent
588b068c06
commit
90e9358ea5
|
@ -185,9 +185,6 @@ public class AsyncContinuation implements AsyncContext, Continuation
|
|||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/* (non-Javadoc)
|
||||
* @see javax.servlet.ServletRequest#isSuspended()
|
||||
*/
|
||||
public boolean isSuspending()
|
||||
{
|
||||
synchronized(this)
|
||||
|
|
|
@ -146,7 +146,8 @@ public class AsyncHttpConnection extends AbstractHttpConnection implements Async
|
|||
_generator.returnBuffers();
|
||||
}
|
||||
|
||||
if (_request.getAsyncContinuation().isComplete() || _request.getAsyncContinuation().isInitial())
|
||||
// reenable idle checking unless request is suspended
|
||||
if(!_request.getAsyncContinuation().isAsyncStarted())
|
||||
{
|
||||
_asyncEndp.setCheckForIdle(true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue