408117 isAsyncStarted is false on redispatch
This commit is contained in:
parent
52444486d1
commit
8a6ab9ab9d
|
@ -569,6 +569,24 @@ public class HttpChannelState
|
|||
}
|
||||
}
|
||||
|
||||
public boolean isAsyncStarted()
|
||||
{
|
||||
synchronized (this)
|
||||
{
|
||||
switch(_state)
|
||||
{
|
||||
case ASYNCSTARTED:
|
||||
case REDISPATCHING:
|
||||
case COMPLETECALLED:
|
||||
case ASYNCWAIT:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isAsync()
|
||||
{
|
||||
synchronized (this)
|
||||
|
|
|
@ -1390,7 +1390,7 @@ public class Request implements HttpServletRequest
|
|||
@Override
|
||||
public boolean isAsyncStarted()
|
||||
{
|
||||
return getHttpChannelState().isAsync();
|
||||
return getHttpChannelState().isAsyncStarted();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue