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

IteratingCallback may iterate too much when process() returns Action.IDLE #12268

Closed
lorban opened this issue Sep 13, 2024 · 0 comments · Fixed by #12269
Closed

IteratingCallback may iterate too much when process() returns Action.IDLE #12268

lorban opened this issue Sep 13, 2024 · 0 comments · Fixed by #12269
Assignees
Labels
Bug For general bugs on Jetty side

Comments

@lorban
Copy link
Contributor

lorban commented Sep 13, 2024

Jetty version(s)
9.4.x, 10.0.x, 11.0.x, 12.0.x, 12.1.x

Description
When IteratingCallback.process() returns Action.IDLE, it incorrectly iterates one more time if another thread asks it to iterate and another processing has been scheduled.

@lorban lorban added the Bug For general bugs on Jetty side label Sep 13, 2024
@lorban lorban self-assigned this Sep 13, 2024
lorban added a commit that referenced this issue Sep 13, 2024
@lorban lorban moved this to 👀 In review in Jetty 12.0.14 Sep 13, 2024
lorban added a commit that referenced this issue Sep 13, 2024
Signed-off-by: Ludovic Orban <[email protected]>
lorban added a commit that referenced this issue Sep 13, 2024
lorban added a commit that referenced this issue Sep 13, 2024
lorban added a commit that referenced this issue Sep 13, 2024
lorban added a commit that referenced this issue Sep 13, 2024
lorban added a commit that referenced this issue Sep 16, 2024
lorban added a commit that referenced this issue Sep 16, 2024
Signed-off-by: Ludovic Orban <[email protected]>
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Jetty 12.0.14 Sep 16, 2024
lorban added a commit that referenced this issue Sep 16, 2024
lorban added a commit that referenced this issue Sep 16, 2024
@lorban lorban changed the title IteratingCallback iterates too much IteratingCallback iterates too much when process() returns Action.IDLE Sep 16, 2024
@lorban lorban changed the title IteratingCallback iterates too much when process() returns Action.IDLE IteratingCallback may iterate too much when process() returns Action.IDLE Sep 16, 2024
lorban added a commit that referenced this issue Sep 17, 2024
lorban added a commit that referenced this issue Sep 17, 2024
lorban added a commit that referenced this issue Sep 17, 2024
lorban added a commit that referenced this issue Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side
Projects
No open projects
Status: ✅ Done
1 participant