478757 - DebugHandler thread name is mangled

+ Removing scheme check, now that HttpURI is sane
This commit is contained in:
Joakim Erdfelt 2015-10-20 11:56:43 -07:00
parent 3e460dd219
commit a01565fbc4
1 changed files with 1 additions and 7 deletions

View File

@ -68,13 +68,7 @@ public class DebugHandler extends HandlerWrapper implements Connection.Listener
boolean retry=false;
String name=(String)request.getAttribute("org.eclipse.jetty.thread.name");
if (name == null)
{
HttpURI baseUri = baseRequest.getHttpURI();
if (baseUri.getScheme() == null)
name = old_name + ":" + baseRequest.getScheme() + ":" + baseUri.toString();
else
name = old_name + ":" + baseUri.toString();
}
name = old_name + ":" + baseRequest.getHttpURI();
else
retry=true;