mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-01 03:19:13 +00:00
478757 - DebugHandler thread name is mangled
+ Removing scheme check, now that HttpURI is sane
This commit is contained in:
parent
3e460dd219
commit
a01565fbc4
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user