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 #11290 empty field #11291

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Fix #11290 empty field #11291

merged 1 commit into from
Jan 18, 2024

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Jan 18, 2024

Fix cache-able empty field for #11290

Fixed cacheable empty field for #11290
@gregw gregw linked an issue Jan 18, 2024 that may be closed by this pull request
@gregw gregw requested a review from lorban January 18, 2024 14:20
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.

Maybe the badMessage override in the test isn't needed, otherwise LGTM.

HttpParser.RequestHandler handler = new Handler()
{
@Override
public void badMessage(HttpException failure)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this override still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it as before the fix it was very unclear how it was failing.

@gregw gregw merged commit a2d86c7 into jetty-12.0.x Jan 18, 2024
8 checks passed
@joakime joakime deleted the fix/12.0.x/11290-emtpyfield branch February 28, 2024 13:11
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
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

HTTP 400 and NPE in HttpParser for blank header value in Jetty 12.x
2 participants