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:
Greg Wilkins 2009-03-29 09:49:25 +00:00
parent 64223c4fa6
commit ea98ad6847
2 changed files with 4 additions and 5 deletions

View File

@ -412,10 +412,9 @@ public class AsyncRequest implements AsyncContext, Continuation
{
case __SUSPENDING:
case __SUSPENDED:
if (false) // TODO
dispatch();
else
complete();
dispatch();
return;
default:
return;
}

View File

@ -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)