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 incorrect call to super in BufferedResponseHandler #10613

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Sep 28, 2023

Whilst looking at inlining some needless wrapper super calls, I spotted this bug in BufferedResponseHandler

Also cleaned up needless super call in Server
// handle normally
return super.handle(request, response, callback);
// handle without buffering
return next.handle(request, response, callback);
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch!

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.

The inlining in Server was not necessary.

@sbordet sbordet merged commit 9ce4141 into jetty-12.0.x Sep 28, 2023
4 checks passed
@sbordet sbordet deleted the fix/jetty-12/BufferedResponseHandler branch September 28, 2023 14:16
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