Skip to content

H2 streams initiated by the standard async client can be gracefully ancelled or time out without closing the underlying connection#817

Open
ok2c wants to merge 1 commit intoapache:masterfrom
ok2c:h2_stream_cancellation
Open

H2 streams initiated by the standard async client can be gracefully ancelled or time out without closing the underlying connection#817
ok2c wants to merge 1 commit intoapache:masterfrom
ok2c:h2_stream_cancellation

Conversation

@ok2c
Copy link
Copy Markdown
Member

@ok2c ok2c commented Mar 29, 2026

This change-set

  • makes it possible to cancel H2 streams initiated by the standard async HttpClient without shutting down the entire connection
  • makes it possible to enforce a response timeout on individual H2 stream (presently does not seem to work due to a possible bug in core H2 transport)

@rschmitt Could you please take a look and let me know if you see anything objectionable
@arturobernalg The idle timeout logic for H2 streams in core does not appear to be working. Please see the disabled test. Could you please investigate? The test case may still be flawed so review it carefully and adjust it if necessary.

…ancelled or time out without closing the underlying connection
@ok2c ok2c requested review from arturobernalg and rschmitt March 29, 2026 09:42
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.

1 participant