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

Add flow control #205

Closed
wants to merge 7 commits into from
Closed

Add flow control #205

wants to merge 7 commits into from

Conversation

essen
Copy link
Member

@essen essen commented Aug 2, 2019

#24

@essen
Copy link
Member Author

essen commented Aug 5, 2019

I've added Websocket.

@essen
Copy link
Member Author

essen commented Aug 5, 2019

And resolved the todos and added more tests.

@essen
Copy link
Member Author

essen commented Aug 5, 2019

I think this is ready to go. Feedback welcome!

@essen essen changed the title WIP: Add flow control Add flow control Aug 5, 2019
Flow control is disabled by default. The initial flow value
must be set to enable it (either for the entire connection
or on a per-request basis). Flow applies to all HTTP streams
as well as Websocket. HTTP/2 pushed streams receive the same
value as their originating stream.
It is ignored by ssl for the purpose we want, and causes
problems in the other direction. Also use a normal shutdown
when TLS handshake errors occur.
Should improve test success rates on Windows.
On Windows the timings can be flaky. It's better to retry a
few times rather than fail immediately.
@essen essen closed this Aug 7, 2019
@essen essen deleted the flow-control branch August 7, 2019 08:39
@essen
Copy link
Member Author

essen commented Aug 7, 2019

Merged!

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.

None yet

1 participant