LOG.debug("CommonProxy.select called for " + uri.toString());
if (Boolean.TRUE.equals(ourReenterDefence.get())) {
return NO_PROXY_LIST;
}
try {
<BUG>ourReenterDefence.set(Boolean.TRUE);
final String host = uri.getHost() == null ? "" : uri.getHost();
final int port = correctPortByProtocol(uri);
final String protocol = uri.getScheme();
if ("localhost".equals(host) || "127.0.0.1".equals(host) || "::1".equals(host)) {</BUG>
return NO_PROXY_LIST;

LOG.debug("CommonProxy.select called for " + uri.toString());
if (Boolean.TRUE.equals(ourReenterDefence.get())) {
return NO_PROXY_LIST;
