3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-23 23:00:35 +01:00

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 -> {