Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network addon session refactor #3394

Merged
merged 5 commits into from
Nov 2, 2023

Conversation

modmuss50
Copy link
Member

Big thanks to @deirn for 98% of the changes in this PR, this is a follow on from #3377 to correctly handle the transition between config and play.

This PR also contains a fix for #3384 and now correctly validates the packet size in a few places where it wasnt previously. Testing still needs to be done, will likely release this in a beta.

@modmuss50 modmuss50 added the enhancement New feature or request label Oct 29, 2023
@modmuss50 modmuss50 requested review from deirn and a team October 29, 2023 13:19
@modmuss50 modmuss50 added bug Something isn't working and removed enhancement New feature or request labels Oct 29, 2023
@modmuss50 modmuss50 added the priority:high High priority PRs that need review and work now. Review these first. label Oct 30, 2023
@modmuss50 modmuss50 requested a review from a team October 30, 2023 18:23
@modmuss50 modmuss50 added the merge me please Pull requests that are ready to merge label Nov 1, 2023
@modmuss50 modmuss50 merged commit bff13c8 into FabricMC:1.20.2 Nov 2, 2023
5 checks passed
modmuss50 added a commit that referenced this pull request Nov 2, 2023
* refactor network addon session handling

* Check payload size

* Fix ClientLoginNetworkAddon does not handle unsuccessful query responses
Closes #3384

* Adjust some logging.

---------

Co-authored-by: deirn <[email protected]>
(cherry picked from commit bff13c8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working merge me please Pull requests that are ready to merge priority:high High priority PRs that need review and work now. Review these first.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants