-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[balsa] Validate HTTP version string. #24759
Conversation
Signed-off-by: Bence Béky <bnc@google.com>
/assign @birenroy |
/assign @diannahu |
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 version is great!
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.
Just a couple of minor comments.
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
When universal header validation is enabled, HTTP_PARSER_STRICT is defined to be 0, and http-parser gives different error messages. Signed-off-by: Bence Béky <bnc@google.com>
Kevin: PTAL. Dianna: thanks for the review. |
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.
Looks great otherwise! Thank you for adding this.
/wait |
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
…ns to tests. Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
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! LGTM
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
Head branch was pushed to by a user without write access
/retest |
Retrying Azure Pipelines: |
/wait Coverage failer: /coverage |
Coverage for this Pull Request will be rendered here: https://storage.googleapis.com/envoy-pr/24759/coverage/index.html The coverage results are (re-)rendered each time the CI |
actually just saw: #25122 (comment) since this doesn't touch this, might just need a merge from main. Sorry about that. |
Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
Tests failed due to an issue that was fixed at #25169. Merging to retry. |
* [balsa] Validate HTTP version string. Signed-off-by: Bence Béky <bnc@google.com>
Tracking issue: #21245
Signed-off-by: Bence Béky bnc@google.com
Commit Message: [balsa] Validate HTTP version string.
Additional Description:
Risk Level: low, changed code protected by existing default-false runtime flag.
Testing: //test/common/http/http1:codec_impl_test //test/integration:integration_test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a
Runtime guard: envoy.reloadable_features.http1_use_balsa_parser