From 67639e07f3d09446c89bb28acff7ef6da896a7ae Mon Sep 17 00:00:00 2001 From: Chris Hegarty Date: Mon, 22 Mar 2010 11:55:54 +0000 Subject: [PATCH] 6632169: HttpClient and HttpsClient should not try to reverse lookup IP address of a proxy server Reviewed-by: michaelm --- .../share/classes/sun/net/www/protocol/https/HttpsClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/share/classes/sun/net/www/protocol/https/HttpsClient.java b/jdk/src/share/classes/sun/net/www/protocol/https/HttpsClient.java index 8c5ee25a959..f04fe98a5c7 100644 --- a/jdk/src/share/classes/sun/net/www/protocol/https/HttpsClient.java +++ b/jdk/src/share/classes/sun/net/www/protocol/https/HttpsClient.java @@ -630,7 +630,7 @@ final class HttpsClient extends HttpClient if (!needsTunneling()) { return null; } else { - return ((InetSocketAddress)proxy.address()).getHostName(); + return super.getProxyHostUsed(); } }