Repository navigation
fix(network): preserve native sessions during asset prompts - #14
Open
AlexProgrammerDE wants to merge 1 commit into
Open
AlexProgrammerDE wants to merge 1 commit into
AlexProgrammerDE wants to merge 1 commit into
Conversation
Java's application read timeout closes a live Bedrock connection after thirty seconds while the player answers a resource or Store prompt, or while licensed built-in assets download. The native transport can remain healthy without decoded game packets during this phase. Remove the vanilla application timeout from RakClientChannel and NetherNetClientChannel connections. RakNet retains its configured session and connection timeouts. NetherNet retains its handshake deadline and reliable data-channel close callback. TCP connections keep their handler. Core cannot change Minecraft's direct channel initialization, so this integration belongs in the add-on. The matching reference uses Bedrock 1.26.51.1 build 51061372, protocol 2193, and Java 26.3. Cloudburst's pinned NetherNetChannel closes the Netty channel when the reliable data channel closes. The macOS report at https://mclo.gs/2gcbHoK shows completed resource downloads followed thirty seconds later by application ReadTimeoutException on NetherNet. The subsequent helper interruption is disconnect cancellation, not evidence that the helper or launcher failed to start.
florianreuth
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove Minecraft's application read timeout from direct RakNet and NetherNet connections. Resource consent can pause decoded game packets for more than thirty seconds while the native transport remains connected.
RakNet retains its session and connection timeouts. NetherNet retains its handshake deadline and native closure handling. TCP connections retain their application timeout.
Validation
./gradlew --no-daemon --console=plain clean check buildpasses.This standalone patch has no test sources.
The existing patch notes record resource-prompt and transport-liveness comparisons. Those earlier comparisons remain separate from this standalone build.
A fresh in-game comparison with this upstream-only JAR remains pending.
Each PR starts from upstream 14f31f4 and contains one independent change.
The build uses upstream ViaBedrock
0.0.31-SNAPSHOT, resolved as20261003.172326-5.No StackAnvil setup patch or local Maven repository enters the build.
The three networking patches touch separate files.
All six application orders pass and produce the same source tree.
Source: owning StackAnvil patch.