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

Split options packet into multiple packets #208

Open
wants to merge 1 commit into
base: mainline
Choose a base branch
from

Conversation

Anusien
Copy link
Owner

@Anusien Anusien commented Mar 16, 2022

Due to the huge amount of options, the SyncCustomSettings packet is
getting extremely large. This patch takes two measures to correct this

  1. By using StartRpcImmediately it'll not lump in this packet with
    around ~100 bytes of other data. This moves the issue 20 options down
    the road.

  2. By splitting the packet in multiple chunks of 1000 bytes, every
    packet stays well beloy the ~1472 byte limit. This prevents the issue
    from appearing again. This change needs the first change though,
    otherwise both chunks will be lumped in the same packet.

By miniduikboot

Due to the huge amount of options, the SyncCustomSettings packet is
getting extremely large. This patch takes two measures to correct this

1. By using StartRpcImmediately it'll not lump in this packet with
around ~100 bytes of other data. This moves the issue 20 options down
the road.

2. By splitting the packet in multiple chunks of 1000 bytes, every
packet stays well beloy the ~1472 byte limit. This prevents the issue
from appearing again. This change needs the first change though,
otherwise both chunks will be lumped in the same packet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants