6632169: HttpClient and HttpsClient should not try to reverse lookup IP address of a proxy server
Reviewed-by: michaelm
This commit is contained in:
parent
6fb9ea7278
commit
67639e07f3
@ -630,7 +630,7 @@ final class HttpsClient extends HttpClient
|
||||
if (!needsTunneling()) {
|
||||
return null;
|
||||
} else {
|
||||
return ((InetSocketAddress)proxy.address()).getHostName();
|
||||
return super.getProxyHostUsed();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user