debug
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:
parent
79dd3c70db
commit
7fcf968406
|
@ -827,6 +827,7 @@ public class HttpExchange
|
||||||
ex.getCause() instanceof SocketTimeoutException)
|
ex.getCause() instanceof SocketTimeoutException)
|
||||||
{
|
{
|
||||||
Log.debug(ex);
|
Log.debug(ex);
|
||||||
|
setStatus(HttpExchange.STATUS_EXPIRED);
|
||||||
HttpExchange.this.onExpire();
|
HttpExchange.this.onExpire();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -54,17 +54,13 @@ public class BlockingHttpExchangeCancelTest extends AbstractHttpExchangeCancelTe
|
||||||
{
|
{
|
||||||
boolean enabled=Log.getLog().isDebugEnabled();
|
boolean enabled=Log.getLog().isDebugEnabled();
|
||||||
Log.getLog().setDebugEnabled(true);
|
Log.getLog().setDebugEnabled(true);
|
||||||
boolean ok=false;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
super.testHttpExchangeOnExpire();
|
super.testHttpExchangeOnExpire();
|
||||||
ok=true;
|
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
Log.getLog().setDebugEnabled(enabled);
|
Log.getLog().setDebugEnabled(enabled);
|
||||||
if (!ok)
|
|
||||||
System.exit(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue