Don't set IP_TOS option

It causes issues on certain servers. Verified to cause issues on play.inpvp.net
This commit is contained in:
RaphiMC 2024-07-22 12:23:56 +02:00
parent 42a45eaa4a
commit 56d376677c
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -54,7 +54,6 @@ public class BedrockProxyConnection extends ProxyConnection {
.group(channelType.clientEventLoopGroup().get())
.channelFactory(RakChannelFactory.client(channelClass))
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 4_000)
.option(ChannelOption.IP_TOS, 0x18)
.option(RakChannelOption.RAK_PROTOCOL_VERSION, ProtocolConstants.BEDROCK_RAKNET_PROTOCOL_VERSION)
.option(RakChannelOption.RAK_CONNECT_TIMEOUT, 4_000L)
.option(RakChannelOption.RAK_SESSION_TIMEOUT, 30_000L)