dispatch on timeout
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@35 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
64223c4fa6
commit
ea98ad6847
|
@ -412,10 +412,9 @@ public class AsyncRequest implements AsyncContext, Continuation
|
|||
{
|
||||
case __SUSPENDING:
|
||||
case __SUSPENDED:
|
||||
if (false) // TODO
|
||||
dispatch();
|
||||
else
|
||||
complete();
|
||||
dispatch();
|
||||
return;
|
||||
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -170,7 +170,7 @@ public class ContextHandlerCollection extends HandlerCollection
|
|||
Request base_request = HttpConnection.getCurrentConnection().getRequest();
|
||||
|
||||
AsyncRequest async = base_request.getAsyncRequest();
|
||||
if (async!=null)
|
||||
if (async.isAsync())
|
||||
{
|
||||
ContextHandler context=async.getContextHandler();
|
||||
if (context!=null)
|
||||
|
|
Loading…
Reference in New Issue