From a804e3ee7a73de9041a27517e7d20deff6522d6e Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Sat, 31 Oct 2009 11:40:48 +0000 Subject: [PATCH] improved debug handler output git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1021 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../java/org/eclipse/jetty/server/handler/DebugHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/DebugHandler.java b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/DebugHandler.java index 9053c4479f1..052b75377ae 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/DebugHandler.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/DebugHandler.java @@ -58,7 +58,7 @@ public class DebugHandler extends HandlerWrapper boolean retry=false; String name=(String)request.getAttribute("org.mortbay.jetty.thread.name"); if (name==null) - name=old_name+"://"+baseRequest.getHeader("Host") +baseRequest.getUri(); + name=old_name+":"+baseRequest.getScheme()+"://"+baseRequest.getLocalAddr()+":"+baseRequest.getLocalPort()+baseRequest.getUri(); else retry=true;