Skip to content
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

fix(http2): initial_max_send_streams defaults to 100 #3538

Merged

Conversation

magurotuna
Copy link
Contributor

This sets the default value of initial_max_send_streams to 100, which previously was usize::MAX as defined in h2 crate.

This default value can be considered reasonable given that widely-used HTTP/2 client implementations adopt this value such as nghttp2 and Go's x/net/http2, and the HTTP/2 spec recommends that HTTP/2 servers should set MAX_CONCURRENT_STREAM they advertise to clients to at least 100. More details can be found at hyperium/h2#731.

Continuation of #3524

@seanmonstar
Copy link
Member

We'll merge this after releasing v1.2.

@seanmonstar seanmonstar merged commit 2d1bd70 into hyperium:master Feb 28, 2024
21 checks passed
@magurotuna magurotuna deleted the initial_max_send_streams_default_value branch February 29, 2024 01:06
This pull request was closed.
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