13
0
geforkt von Mirrors/Velocity

Enable TCP_NODELAY on Minecraft proxy connections too

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-09-07 23:29:49 -04:00
Ursprung 5dbf8f1736
Commit f75a51638c

Datei anzeigen

@ -55,6 +55,7 @@ public class VelocityServerConnection implements MinecraftConnectionAssociation,
public CompletableFuture<ConnectionRequestBuilder.Result> connect() {
CompletableFuture<ConnectionRequestBuilder.Result> result = new CompletableFuture<>();
server.initializeGenericBootstrap()
.option(ChannelOption.TCP_NODELAY, true)
.handler(new ChannelInitializer<Channel>() {
@Override
protected void initChannel(Channel ch) throws Exception {