-
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] Verify URL. #22040
[balsa] Verify URL. #22040
Conversation
This fixes Http1ServerConnectionImplTest.Http11InvalidRequest, and adds extensive testing to the URL validator that both http-parser and the new isUrlValid in BalsaParser pass. Tested by patching in #22039 and running bazel test //test/common/http/http1:codec_impl_test --test_arg=--runtime-feature-override-for-tests=envoy.reloadable_features.http1_use_balsa_parser Tracking issue: #21245 Signed-off-by: Bence Béky <bnc@google.com>
Signed-off-by: Bence Béky <bnc@google.com>
/assign @yanavlasov |
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.
Very nice, clean code and great tests!
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.
That char bitmap o__O
This change looks great!
@bencebeky needs merge and fixing merge conflicts. |
/wait |
Signed-off-by: Bence Béky <bnc@google.com>
Thank you for the review. I resolved the merge conflicts, and all checks have passed. This PR seems to be ready to be merged. |
Ping @wrowe. Thank you. |
This fixes Http1ServerConnectionImplTest.Http11InvalidRequest, and adds
extensive testing to the URL validator that both http-parser and the new
isUrlValid in BalsaParser pass.
Tested by patching in #22039 and running
bazel test //test/common/http/http1:codec_impl_test
--test_arg=--runtime-feature-override-for-tests=envoy.reloadable_features.http1_use_balsa_parser
Tracking issue: #21245
Signed-off-by: Bence Béky bnc@google.com
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]