git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1542 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2010-04-21 12:23:55 +00:00
parent 79dd3c70db
commit 7fcf968406
2 changed files with 1 additions and 4 deletions

View File

@ -827,6 +827,7 @@ public class HttpExchange
ex.getCause() instanceof SocketTimeoutException)
{
Log.debug(ex);
setStatus(HttpExchange.STATUS_EXPIRED);
HttpExchange.this.onExpire();
}
else

View File

@ -54,17 +54,13 @@ public class BlockingHttpExchangeCancelTest extends AbstractHttpExchangeCancelTe
{
boolean enabled=Log.getLog().isDebugEnabled();
Log.getLog().setDebugEnabled(true);
boolean ok=false;
try
{
super.testHttpExchangeOnExpire();
ok=true;
}
finally
{
Log.getLog().setDebugEnabled(enabled);
if (!ok)
System.exit(1);
}
}