From 11ca208d934f54d7c403783888f052ccdbbf5d00 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 14 Mar 2024 12:32:26 +0000 Subject: [PATCH] RakLib: Allow larger number of split packet parts some persona skins are insanely bloated and get split into hundreds of parts. it's quite annoying that we have to accommodate this, but we can't keep allowing players to experience login timeouts without an obvious indication what's wrong. --- src/network/mcpe/raklib/RakLibServer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/network/mcpe/raklib/RakLibServer.php b/src/network/mcpe/raklib/RakLibServer.php index e2d6d9a66..5137b94ba 100644 --- a/src/network/mcpe/raklib/RakLibServer.php +++ b/src/network/mcpe/raklib/RakLibServer.php @@ -96,7 +96,8 @@ class RakLibServer extends Thread{ new SimpleProtocolAcceptor($this->protocolVersion), new UserToRakLibThreadMessageReceiver(new PthreadsChannelReader($this->mainToThreadBuffer)), new RakLibToUserThreadMessageSender(new SnoozeAwarePthreadsChannelWriter($this->threadToMainBuffer, $this->sleeperEntry->createNotifier())), - new ExceptionTraceCleaner($this->mainPath) + new ExceptionTraceCleaner($this->mainPath), + recvMaxSplitParts: 512 ); $this->synchronized(function() : void{ $this->ready = true;