3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +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<>(); CompletableFuture<SimpleHttpResponse> reply = new CompletableFuture<>();
InetSocketAddress address = new InetSocketAddress(host, port); InetSocketAddress address = InetSocketAddress.createUnresolved(host, port);
poolMap.get(address) poolMap.get(address)
.acquire() .acquire()
.addListener(future -> { .addListener(future -> {