[balsa] Add config field to enable custom methods. (#26448)
* [balsa] Add config field to enable custom methods. This is no behavioral change by default: only methods from a hard-coded list (that matches the list hard-coded in http-parser, and is slightly different from the one that will be used by UHV) are accepted. Then the new knob is true, BalsaParser does the exact same validation as UHV will by default: method has to be non-empty and only contain allowed characters. When UHV method validation logic is turned on in the future, all validation can be removed from BalsaParser. When non-UHV mode is deprecated, this new proto field can be removed. Tracking issue: #21245 Signed-off-by: Bence Béky <bnc@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 8c17c7a8c91380b2ad5d2e352db94fd1c7571d46pull/626/head
parent
d852b5d48d
commit
91bf190c58
1 changed files with 14 additions and 1 deletions
Loading…
Reference in new issue