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

Sequenced loop u16 #231

Merged
merged 2 commits into from
Sep 2, 2019
Merged

Commits on Sep 1, 2019

  1. Configuration menu
    Copy the full SHA
    d39ecd0 View commit details
    Browse the repository at this point in the history
  2. sequencing: Loop the indexing method

    Sending over 65536 packets would previously just saturate the top_index
    which caused it to not accept any more packets. This patch shortens the
    sequence acceptance by half but always loops around the max u16 value.
    
    This means that at top_index = 0, all sequenced packets 0-32768 are
    accepted, while at top_index = 50000, all sequenced packets 50000-65535
    and 0-17233 will be accepted.
    kstrafe committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    6c1c91e View commit details
    Browse the repository at this point in the history