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

Jetty 12 - Fix GzipHandler handling of chunked and Content-Length #8927

Merged
merged 20 commits into from
Dec 6, 2022

Conversation

joakime
Copy link
Contributor

@joakime joakime commented Nov 22, 2022

The implementation of GzipResposne (used by GzipHandler) doesn't guarantee Content-Length for simple responses the response headers.

This PR fixes GzipResponse deflation, and also addresses a few small bugs around HEAD responses during HTTP/2 and HTTP/3

@joakime joakime added Http Client For issues encountered in Browser and Http Client implementations jetty 12 labels Nov 22, 2022
@joakime joakime requested a review from sbordet November 22, 2022 23:51
@joakime joakime self-assigned this Nov 22, 2022
@joakime joakime changed the title Jetty 12 - Enable ContentLengthTest.testGzippedContentLengthAddedByServer Jetty 12 - Fix GzipHandler handling of chunked and Content-Length Nov 29, 2022
@joakime joakime removed the Http Client For issues encountered in Browser and Http Client implementations label Nov 30, 2022
@gregw gregw self-requested a review November 30, 2022 22:06
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

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

Looks pretty good. Only really javadoc niggles and a question about endianness

@joakime joakime merged commit 45d0b68 into jetty-12.0.x Dec 6, 2022
@joakime joakime deleted the fix/jetty-12-enable-http2-gzip-test branch December 6, 2022 18: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.

2 participants