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

Consider padding when bundling chunks in packets #301

Merged
merged 2 commits into from
Feb 26, 2024
Merged

Conversation

sukunrt
Copy link
Member

@sukunrt sukunrt commented Feb 23, 2024

Currently padding is not considered when decided how many chunks to bundle in to 1 packet. This causes some packets to exceed the MTU size. See the added test for a repro.

@sukunrt sukunrt requested a review from Sean-Der February 23, 2024 12:04
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.62%. Comparing base (5359da5) to head (2d9fc9e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #301   +/-   ##
=======================================
  Coverage   80.61%   80.62%           
=======================================
  Files          49       49           
  Lines        4121     4123    +2     
=======================================
+ Hits         3322     3324    +2     
  Misses        653      653           
  Partials      146      146           
Flag Coverage Δ
go 80.62% <100.00%> (+<0.01%) ⬆️
wasm 66.91% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@edaniels
Copy link
Member

I'll try to look at this Monday!

Copy link
Member

@edaniels edaniels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@edaniels edaniels merged commit ee5f2e7 into master Feb 26, 2024
14 checks passed
@edaniels edaniels deleted the fix-chunk-bundling branch February 26, 2024 14:57
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.

2 participants