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

Fixes delivery of events to Response.CompleteListeners. #10102

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Jul 13, 2023

In case of request.onComplete(Response.CompleteListener l), only the complete event should be delivered to l, not all the events (in case l implements other listener interfaces).

Only Response.CompleteListener passed to request.send(Response.CompleteListener) should receive all events.

In case of `request.onComplete(Response.CompleteListener l)`, only the complete event should be delivered to `l`, not all the events (in case `l` implements other listener interfaces).

Only `Response.CompleteListener` passed to `request.send(Response.CompleteListener)` should receive all events.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet requested a review from lorban July 13, 2023 06:13
@sbordet sbordet merged commit 190af29 into jetty-12.0.x Jul 13, 2023
@sbordet sbordet deleted the fix/jetty-12-onComplete-listener branch July 13, 2023 13:12
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.

2 participants