413901 isAsyncStarted remains true while original request is dispatched
This commit is contained in:
parent
1e39b7d476
commit
c27e58b785
|
@ -574,6 +574,8 @@ public class HttpChannelState
|
|||
{
|
||||
synchronized (this)
|
||||
{
|
||||
if (_state==State.DISPATCHED)
|
||||
return _async!=null;
|
||||
return _async==Async.STARTED || _async==Async.EXPIRING;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -352,7 +352,6 @@ public class GzipFilter extends UserAgentFilter
|
|||
{
|
||||
if (request.isAsyncStarted())
|
||||
{
|
||||
|
||||
request.getAsyncContext().addListener(new FinishOnCompleteListener(wrappedResponse));
|
||||
}
|
||||
else if (exceptional && !response.isCommitted())
|
||||
|
|
Loading…
Reference in New Issue