-
Notifications
You must be signed in to change notification settings - Fork 848
h2spec: The endpoint MUST ignore any flags that is undefined. #1747
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
Conversation
|
@masaori335 @maskit Would you review this? It's a small fix for one of the issues reported by |
|
I think we can simply remove the check and |
|
@maskit You're right. Updated. |
|
[approve ci] |
|
clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/343/ |
|
RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/357/ |
|
Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/470/ |
|
Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1931/ |
|
AU check failed! https://ci.trafficserver.apache.org/job/autest-github/341/ |
|
FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/2039/ |
|
clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/603/ |
maskit
left a comment
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.
+1
maskit
left a comment
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.
http2_frame_flags_are_valid is used only here and in the regression test, so I think we can remove the function itself, and the condition used in it should be moved into the regression test.
|
@maskit fixed. |
|
Thanks. |
|
@maskit Do we want this for 7.1.0? |
|
@zwoop I think it's nice to have. It matters only if some clients violate the protocol. |
|
This doesn't cherry-pick cleanly to 7.1.x branch. If we want this back ported, I think someone will have to make a separate PR. I think it's because of some of the clang-tidy that's been run on master. |
|
@zwoop okay, I'll create one. |
Currently,
h2specreports the issue as follows.With this patch,