-
Notifications
You must be signed in to change notification settings - Fork 203
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
Clarify and split the "malformed" definition #3352
Conversation
eb9f21a
to
f5d137d
Compare
The Message Exchange section required that a client send precisely one request per stream, and that a server send precisely one final response (preceded by zero or more non-final responses), but how to deal with violations wasn't defined. This seems to fall in the same spirit of malformed messages, so I added that to the definition of "malformed." |
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.
Thank you for working on this. I read through all the changes, but could not find a single issue! 💯 👍
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.
I think this is a good addition. I did however find some small room for improvement :99:
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.
Re-reading with fresh eyes, I see things to fix tomorrow.
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.
This is lots of words, but I can't really fault them too much.
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.
LG, minus Martin's suggestion
c1bff0a
to
5d0f2be
Compare
Lots of text, but it's basically all an import from RFC 7540 (which helps #3264, but doesn't totally resolve it). This makes the definition of malformed requests entirely local and more precise than previously.
The odd item on the malformed list was "extraneous frames." We're already fairly permissive about what other frames can show up interleaved with the actual request, so this requirement moved to that section -- receipt of DATA and HEADERS frames outside of the prescribed order is now a connection error.
Fixes #3345.