Skip to content

Commit d756702

Browse files
author
Wang Zhengjie
committed
修改设置代理的Bug。
修改设置代理的Bug。 Signed-off-by: Wang Zhengjie <[email protected]>
1 parent 2c82ff4 commit d756702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/JoddGetRequestExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public String execute(CloseableHttpClient httpclient, HttpHost httpProxy, String
3333
if (httpProxy != null) {
3434
ProxyInfo proxyInfoObj = new ProxyInfo(
3535
ProxyInfo.ProxyType.HTTP,
36-
httpProxy.getAddress().getHostAddress(),
36+
httpProxy.getHostName(),
3737
httpProxy.getPort(), "", "");
3838
provider.useProxy(proxyInfoObj);
3939
}

0 commit comments

Comments
 (0)