less verbose logging

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2989 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2011-04-07 00:50:13 +00:00
parent 417eafdefd
commit dad96688b3
2 changed files with 10 additions and 1 deletions

View File

@ -216,6 +216,7 @@ public class ProxyTunnellingTest
{
latch.countDown();
}
};
exchange.setMethod(HttpMethods.GET);
String body = "BODY";

View File

@ -187,7 +187,15 @@ public class ConnectHandler extends HandlerWrapper
if (HttpMethods.CONNECT.equalsIgnoreCase(request.getMethod()))
{
_logger.debug("CONNECT request for {}", request.getRequestURI());
handleConnect(baseRequest, request, response, request.getRequestURI());
try
{
handleConnect(baseRequest, request, response, request.getRequestURI());
}
catch(Exception e)
{
_logger.warn("ConnectHandler "+baseRequest.getUri()+" "+ e);
_logger.debug(e);
}
}
else
{