提交 6fa6bcf1 编写于 作者: C chegar

6632169: HttpClient and HttpsClient should not try to reverse lookup IP address of a proxy server

Reviewed-by: michaelm
上级 d3c7fe98
...@@ -630,7 +630,7 @@ final class HttpsClient extends HttpClient ...@@ -630,7 +630,7 @@ final class HttpsClient extends HttpClient
if (!needsTunneling()) { if (!needsTunneling()) {
return null; return null;
} else { } else {
return ((InetSocketAddress)proxy.address()).getHostName(); return super.getProxyHostUsed();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册