Skip to content

h2: respect the initial window size setting #514

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

Merged
merged 4 commits into from
Apr 25, 2025
Merged

Conversation

TingDaoK
Copy link
Contributor

@TingDaoK TingDaoK commented Apr 24, 2025

Issue #, if available:

  • We are ignoring the initial window size for http/2 , which don't seems necessary.

Description of changes:

  • respect the initial window size and turn it into the corresponding setting for http/2.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@TingDaoK TingDaoK changed the title respect the initial window size setting h2: respect the initial window size setting Apr 24, 2025
@codecov-commenter
Copy link

codecov-commenter commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.57%. Comparing base (a2cee45) to head (fb25913).
Report is 2 commits behind head on canary.

Additional details and impacted files
@@            Coverage Diff             @@
##           canary     #514      +/-   ##
==========================================
+ Coverage   79.52%   79.57%   +0.05%     
==========================================
  Files          27       27              
  Lines       11701    11714      +13     
==========================================
+ Hits         9305     9322      +17     
+ Misses       2396     2392       -4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TingDaoK TingDaoK marked this pull request as ready for review April 24, 2025 22:36
* `AWS_HTTP2_SETTINGS_INITIAL_WINDOW_SIZE`.
* The corresponding settings from `initial_settings_array` will override this value.
* Notes:
* - the setting value has the limitation of 2^31-1,
Copy link
Contributor

Choose a reason for hiding this comment

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

what happens if its above this number? size_t is 64bits on 64bit hw

@TingDaoK TingDaoK merged commit 19d9439 into canary Apr 25, 2025
42 checks passed
@TingDaoK TingDaoK deleted the support-init-windows-h2 branch April 25, 2025 21:32
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.

3 participants