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: stream flow control insufficient size before ack #746

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

dswij
Copy link
Member

@dswij dswij commented Feb 1, 2024

closes #630

This PR makes the Recv stream use the default window size before receiving ACK from the other party.

This matters as a server when we want the stream initial_window_size <= default settings. In some cases, the client will eagerly send some data frames before ACK-ing settings, thus resulting in a flow control error if the size of data frames is greater than the set initial_window_size.

@seanmonstar seanmonstar merged commit 0077d3d into hyperium:master Feb 2, 2024
7 checks passed
@dswij dswij deleted the h2-issue-630 branch February 2, 2024 15:48
@seanmonstar seanmonstar mentioned this pull request Mar 15, 2024
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.

FlowControl problem when the initial_stream_window_size is smller than 65535
2 participants