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 #6227 Async timeout dispatch race (#6228) #6231

Merged
merged 1 commit into from May 5, 2021

Conversation

gregw
Copy link
Contributor

@gregw gregw commented May 4, 2021

Port of #6228 to jetty-10 for #6227 Async timeout dispatch race
Only allow the thread calling onTimeout to call dispatch and complete once timeout has expired.

Fix #6227 Async timeout dispatch race
Only allow the thread calling onTimeout to call dispatch and complete once timeout has expired.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
@gregw gregw requested review from sbordet and joakime May 4, 2021 04:43
@gregw gregw merged commit 1263732 into jetty-10.0.x May 5, 2021
@gregw gregw deleted the jetty-10.0.x-6227-async-timeout-race branch May 5, 2021 21:45
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.

Better resolve race between AsyncListener.onTimeout and AsyncContext.dispatch
2 participants