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:
Ursprung
2b7b33bd42
Commit
f77384d32e
@ -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 -> {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren