Skip to content

Add per-connection protection against excessive early HTTP/2 stream resets. - #742

Merged
arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:h2-rapid-reset-protection
Nov 12, 2026
Merged

arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:h2-rapid-reset-protection

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

The implementation tracks rapid RST_STREAM activity on peer-initiated streams and rejects excessive activity with ENHANCE_YOUR_CALM.

The protection reuses the existing rate limiter, remains internal to httpcore5-h2, and does not change the public API.

@arturobernalg
arturobernalg requested a review from ok2c November 9, 2026 07:25
@arturobernalg
arturobernalg force-pushed the h2-rapid-reset-protection branch from 78355a7 to d7b8c9d Compare November 11, 2026 18:13
Limit excessive early stream resets on a per-connection basis
to mitigate resource exhaustion from rapid stream cancellation.
@arturobernalg
arturobernalg force-pushed the h2-rapid-reset-protection branch from d7b8c9d to 29ec668 Compare November 11, 2026 18:25
@arturobernalg
arturobernalg requested a review from ok2c November 11, 2026 18:29
@arturobernalg
arturobernalg requested a review from ok2c November 12, 2026 13:11
@arturobernalg
arturobernalg merged commit 9307110 into apache:master Nov 12, 2026
12 checks passed
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