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 #10402 - do not recycle ServletChannel if aborted #10420

Merged

Conversation

lachlan-roberts
Copy link
Contributor

fixes #10402

The write callback was being completed after the channel had been recycled. So now we maintain an outputState of ABORTED and do not allow the ServletChannel to be reused.

@joakime joakime added this to the 12.0.x milestone Aug 28, 2023
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.

LGTM... one small naming niggle, but only change if you really agree.

@lachlan-roberts lachlan-roberts merged commit 76cc130 into jetty-12.0.x Aug 29, 2023
1 check passed
@lachlan-roberts lachlan-roberts deleted the jetty-12.0.x-10402-ServletChannelRecycle branch August 29, 2023 05:00
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