13
0
geforkt von Mirrors/Velocity

Ensure that Velocity will always resolve DNS names for HTTP async.

Dieser Commit ist enthalten in:
Andrew Steinborn 2019-01-11 17:51:29 -05:00
Ursprung 2b7b33bd42
Commit f77384d32e

Datei anzeigen

@ -84,7 +84,7 @@ public class NettyHttpClient {
}
CompletableFuture<SimpleHttpResponse> reply = new CompletableFuture<>();
InetSocketAddress address = new InetSocketAddress(host, port);
InetSocketAddress address = InetSocketAddress.createUnresolved(host, port);
poolMap.get(address)
.acquire()
.addListener(future -> {