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

Fix #10805 zero dynamic table (#11445) #11452

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Feb 27, 2024

#11445

Set the correct default size for the table.
Always send the max table size on the first encode

* Added test for #10805 Zero Dynamic Table

* fixed file header

* Added test for #10805 Zero Dynamic Table

* Fix for #10805 Zero Dynamic Table

Set the correct default size for the table.
Always send the max table size on the first encode
Signed-off-by: gregw <gregw@webtide.com>
@lachlan-roberts
Copy link
Contributor

@gregw the test is not testing the changes made in HpackEncoder.
You can revert all the changes to HpackEncoder and there is no test failure.

@gregw
Copy link
Contributor Author

gregw commented Feb 28, 2024

@lachlan-roberts yeah that's a known issue with the tests. I checked the change with Wireshark on the tests. Add this originated in 9.4 U didn't want to spend time in a full test. I'll make a test that actually checks the issue when this is merged to 12

@gregw gregw merged commit ac82a3f into jetty-10.0.x Feb 28, 2024
11 checks passed
@gregw gregw deleted the fix/jetty-10.0.x/10805/h2ZeroDynamicTable branch February 28, 2024 11:14
gregw added a commit that referenced this pull request Feb 28, 2024
* Fix #10805 zero dynamic table (#11445)

* Added test for #10805 Zero Dynamic Table

* fixed file header

* Added test for #10805 Zero Dynamic Table

* Fix for #10805 Zero Dynamic Table

Set the correct default size for the table.
Always send the max table size on the first encode

* updated file header

Signed-off-by: gregw <gregw@webtide.com>

---------

Signed-off-by: gregw <gregw@webtide.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants