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

Options for SETTINGS_MAX_CONCURRENT_STREAMS violations #652

Merged
merged 2 commits into from
Nov 30, 2014

Conversation

martinthomson
Copy link
Collaborator

Rather than just PROTOCOL_ERROR, allow REFUSED_STREAM.

REFUSED_STREAM is a more lenient error. It allows clients to retry requests. Servers might also set the GOAWAY stream number to a lower value if they upgraded.

Closes #649.

martinthomson added a commit that referenced this pull request Nov 30, 2014
Options for SETTINGS_MAX_CONCURRENT_STREAMS violations
@martinthomson martinthomson merged commit 6442ada into master Nov 30, 2014
@martinthomson martinthomson deleted the mcs_err2 branch November 30, 2014 07:22
bradfitz added a commit to bradfitz/http2 that referenced this pull request Dec 3, 2014
Choose the error code for violating SETTINGS_MAX_CONCURRENT_STREAMS depending
on whether the peer should know better.

See httpwg/http2-spec#649 and httpwg/http2-spec#652
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.

Which stream error code for violating SETTINGS_MAX_CONCURRENT_STREAMS?
1 participant