Skip to content

Commit

Permalink
Don't set IP_TOS option
Browse files Browse the repository at this point in the history
It causes issues on certain servers. Verified to cause issues on play.inpvp.net
  • Loading branch information
RaphiMC committed Jul 22, 2024
1 parent 561a2c0 commit 3b2cde9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void initialize(ChannelType channelType, Bootstrap bootstrap) {
.group(channelType.clientEventLoopGroup().get())
.channel(RakNetClient.THREADED_CHANNEL)
.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 4_000)
.option(ChannelOption.IP_TOS, 0x18)
.option(RakNet.PROTOCOL_VERSION, ProtocolConstants.BEDROCK_RAKNET_PROTOCOL_VERSION)
.attr(ProxyConnection.PROXY_CONNECTION_ATTRIBUTE_KEY, this)
.handler(new ChannelInitializer<>() {
Expand Down

0 comments on commit 3b2cde9

Please sign in to comment.