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

Issue #4890 - Do not index large HTTP2 Fields #4927

Merged
merged 5 commits into from
Jun 1, 2020

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Jun 1, 2020

Fixes #4890. Do not index encode fields larger than the dynamic table.

When choosing a strategy to encode a HTTP2 field, do not use indexed
if the field is larger than the dynamic table.

Signed-off-by: Greg Wilkins <[email protected]>
Fixed checkstyle in test

Signed-off-by: Greg Wilkins <[email protected]>
Copy link
Contributor

@lorban lorban left a comment

Choose a reason for hiding this comment

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

LGTM, but you could squash both commits.

Copy link
Contributor

@sbordet sbordet left a comment

Choose a reason for hiding this comment

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

Please fix the comments, but otherwise good.

gregw added 3 commits June 1, 2020 12:27
Only index 0 content-length

Signed-off-by: Greg Wilkins <[email protected]>
Fixed comments

Signed-off-by: Greg Wilkins <[email protected]>
Don't parse int

Signed-off-by: Greg Wilkins <[email protected]>
@gregw gregw merged commit 646010e into jetty-9.4.x Jun 1, 2020
@gregw gregw deleted the jetty-9.4.x-4890-DoNotEncodeLargeFields branch June 1, 2020 12:12
@joakime joakime changed the title Jetty 9.4.x #4890 do not index large fields Issue #4890 - Do not index large HTTP2 Fields Jun 1, 2020
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.

JettyClient behavior when SETTINGS_HEADER_TABLE_SIZE is set to 0 in SETTINGS Frame.
3 participants