Skip to content

Conversation

ConnorLinfoot
Copy link
Member

@ConnorLinfoot ConnorLinfoot commented Apr 17, 2024

Originally I hoped to use the versioning for some form of backward compatibility, but due to different versions of packets potentially resulting in different behavior, this could have unexpected consequences. This change results in us only reading and handling packets that we "understand" based on the current version, so if the primary packet handler receives an old or new packet then it will simply stop reading after the version and not invoke the registered handlers.

@ConnorLinfoot ConnorLinfoot merged commit 0e5cae4 into master Apr 25, 2024
@ConnorLinfoot ConnorLinfoot deleted the version branch April 25, 2024 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant