OpenJDK / bsd-port / jdk9 / jdk
changeset 2239:c40572afb29e
6632169: HttpClient and HttpsClient should not try to reverse lookup IP address of a proxy server
Reviewed-by: michaelm
author | chegar |
---|---|
date | Mon, 22 Mar 2010 11:55:54 +0000 |
parents | 3bb93c410f41 |
children | 31dcf23042f9 2805db6e6ff6 |
files | src/share/classes/sun/net/www/protocol/https/HttpsClient.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/sun/net/www/protocol/https/HttpsClient.java Fri Mar 19 13:07:42 2010 +0000 +++ b/src/share/classes/sun/net/www/protocol/https/HttpsClient.java Mon Mar 22 11:55:54 2010 +0000 @@ -630,7 +630,7 @@ if (!needsTunneling()) { return null; } else { - return ((InetSocketAddress)proxy.address()).getHostName(); + return super.getProxyHostUsed(); } }