We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2211de commit 87473b0Copy full SHA for 87473b0
api/src/main/java/org/asynchttpclient/util/ProxyUtils.java
@@ -208,7 +208,7 @@ public ProxyServer select(URI uri) {
208
log.warn("Don't know how to connect to address " + proxy.address());
209
} else {
210
InetSocketAddress address = (InetSocketAddress) proxy.address();
211
- return new ProxyServer(Protocol.HTTP, address.getHostString(), address.getPort());
+ return new ProxyServer(Protocol.HTTP, address.getHostName(), address.getPort());
212
}
213
case DIRECT:
214
return null;
0 commit comments