- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
Allow configuring max_local_error_reset_streams #2421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow configuring max_local_error_reset_streams #2421
Conversation
| Given there's now also references from h2, would it be possible to get this merged? (cc @tottoto perhaps? thanks) | 
There was a problem hiding this 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.
| I'm not sure why the "CI / Interop Tests (macOS-latest)" test failed, but it looks unrelated? | 
There was a problem hiding this 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.
7c3f006    to
    3aba7c5      
    Compare
  
    …2437) Squashed version of #2421 applied to `master`. Co-authored-by: alexanderrilee <[email protected]>
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_streamsto theServerAPI.