connection pools.
Example broken thread name: "http-apr-8001"-exec-2
(including leading and intermediate quotes).
Since we never use the names as a full ObjectName,
only as a part of an ObjectName, it is safe to
remove the surrounding quotes from the Protocol name.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1135088 13f79535-47bb-0310-9956-
ffa450edef68
name.append('-');
}
name.append(endpoint.getPort());
- return ObjectName.quote(name.toString());
+ String quotedName = ObjectName.quote(name.toString());
+ return quotedName.substring(1, quotedName.length()-1);
}
Fix unit test for bindOnInit which was failing for APR on some
platforms. (rjung)
</fix>
+ <fix>
+ Remove superfluous quotes from thread names for connection pools.
+ (rjung)
+ </fix>
</changelog>
</subsection>
<subsection name="Cluster">