Skip to content

Conversation

@alexanderrilee
Copy link
Contributor

Motivation

This makes max_local_error_reset_streams configurable. We have an isolated environment where we create and close many (valid) short-lived gRPC streams. We very quickly hit the 1024 limit on stream resets, which initiates a GoAway. During connection recreation, the Python gRPC client misbehaves. We would like the option to tune this limit, since this is a safe traffic pattern for us.

Solution

I've added http2_max_local_error_reset_streams to the Server API.

@aldanor
Copy link

aldanor commented Oct 17, 2025

Given there's now also references from h2, would it be possible to get this merged? (cc @tottoto perhaps? thanks)

Copy link
Collaborator

@tottoto tottoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this. I left some comments.

@alexanderrilee
Copy link
Contributor Author

I'm not sure why the "CI / Interop Tests (macOS-latest)" test failed, but it looks unrelated?

Copy link
Collaborator

@tottoto tottoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexanderrilee Thanks! Could you squash the commits and upstream it to the default branch? I think I'd like to merge this pull request as a backport of it.

I'm not sure why the "CI / Interop Tests (macOS-latest)" test failed, but it looks unrelated?

Yes. It isn't related to this change.

@alexanderrilee alexanderrilee force-pushed the configure-max-stream-resets branch from 7c3f006 to 3aba7c5 Compare October 29, 2025 23:47
tottoto pushed a commit that referenced this pull request Oct 30, 2025
…2437)

Squashed version of #2421 applied
to `master`.

Co-authored-by: alexanderrilee <[email protected]>
@tottoto tottoto merged commit 1cf2297 into hyperium:v0.14.x Oct 30, 2025
58 of 60 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.

3 participants