Skip to content

12.0.x: H2 client should abort the active channel's request during close or failure - #14692

Merged
lorban merged 2 commits into
jetty-12.0.xfrom
fix/12.0.x/14654-h2-client-hang
May 22, 2026
Merged

lorban merged 2 commits into
jetty-12.0.xfrom
fix/12.0.x/14654-h2-client-hang

Conversation

@lorban

@lorban lorban commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Make sure the HttpConnectionOverHTTP2.activeChannels set is cleared and the channels are aborted when the connection is failed or gets closed.

Fixes #14654

@lorban lorban self-assigned this Mar 18, 2026
@lorban lorban added the Bug For general bugs on Jetty side label Mar 18, 2026
@lorban
lorban force-pushed the fix/12.0.x/14654-h2-client-hang branch from 6014c8a to 9e3f86a Compare March 18, 2026 15:25
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
@lorban
lorban force-pushed the fix/12.0.x/14654-h2-client-hang branch from 9e3f86a to e22948a Compare March 18, 2026 15:26
@lorban
lorban marked this pull request as ready for review March 18, 2026 15:26
@lorban lorban moved this to πŸ— In progress in Jetty 12.0.34 FROZEN Mar 18, 2026
@lorban
lorban requested a review from sbordet March 18, 2026 15:28
@lorban lorban changed the title H2 client: abort the active channel's request during close or failure 12.0.x: H2 client should abort the active channel's request during close or failure Mar 18, 2026
@lorban lorban moved this to πŸ— In progress in Jetty 12.1.8 FROZEN Mar 30, 2026
@olamy olamy moved this to πŸ‘€ In review in Jetty 12.1.9 FROZEN Apr 27, 2026
@sbordet sbordet removed this from Jetty 12.0.35 Apr 29, 2026
* Improved upgrade for HTTP/2.
* Similar fixes for HTTP/3.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet moved this to πŸ‘€ In review in Jetty 12.0.35 May 22, 2026
@lorban
lorban merged commit ab4de5c into jetty-12.0.x May 22, 2026
9 checks passed
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

Development

Successfully merging this pull request may close these issues.

HTTP/2 client may never complete request callback when connection fails during channel-to-stream transition

2 participants