mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-01 03:19:13 +00:00
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…
x
Reference in New Issue
Block a user