Skip to content

Add http2_max_local_error_reset_streams method to legacy client#277

Open
op wants to merge 1 commit intohyperium:masterfrom
op:op/legacy-client-max-local-error-reset-streams
Open

Add http2_max_local_error_reset_streams method to legacy client#277
op wants to merge 1 commit intohyperium:masterfrom
op:op/legacy-client-max-local-error-reset-streams

Conversation

@op
Copy link

@op op commented Mar 24, 2026

Expose the h2 max_local_error_reset_streams setting on the legacy client builder, allowing users to configure the maximum number of locally-reset streams before a GOAWAY frame is sent.

@op
Copy link
Author

op commented Mar 24, 2026

To share some context: we encountered this issue when cancelling internal client requests. Maybe there's something internally in hyper that can be fixed but see here for details for both h2 and tonic:

…acy client

Expose the h2 `max_local_error_reset_streams` setting on the legacy
client builder, allowing users to configure the maximum number of
local resets due to protocol errors.
@op op force-pushed the op/legacy-client-max-local-error-reset-streams branch from b63351e to f4a85a4 Compare March 24, 2026 18:35
@op
Copy link
Author

op commented Mar 24, 2026

Didn't realise that the max_local_error_reset_streams method hasn't been released yet.

@seanmonstar
Copy link
Member

Oh right, this will need a release of hyper. I'll prioritize that.

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