Repository navigation
matching: add support for matching on HTTP trailers - #14895
Merged
Merged
Conversation
Adds support for matching on HTTP request and response trailers. Also fixes a bug around skipping filter iteration where we would not skip encoding trailers even if the skip_filter_ flag was set. Signed-off-by: Snow Pettersen <[email protected]>
lizan
reviewed
Feb 1, 2021
| // [#comment:TODO(snowp): Link to unified matching docs.] | ||
| message HttpRequestTrailerMatchInput { | ||
| // The request trailer to match on. | ||
| string header_name = 1; |
Member
There was a problem hiding this comment.
add header name PGV constraint? (same below)
added 3 commits
February 19, 2021 17:41
Signed-off-by: Snow Pettersen <[email protected]>
Signed-off-by: Snow Pettersen <[email protected]>
Signed-off-by: Snow Pettersen <[email protected]>
added 3 commits
March 8, 2021 15:52
Signed-off-by: Snow Pettersen <[email protected]>
Signed-off-by: Snow Pettersen <[email protected]>
Signed-off-by: Snow Pettersen <[email protected]>
Contributor
Author
|
This is ready for review now |
mattklein123
requested changes
Mar 11, 2021
mattklein123
left a comment
Member
There was a problem hiding this comment.
LGTM with small doc comment, thanks.
/wait
| message HttpRequestHeaderMatchInput { | ||
| // The request header to match on. | ||
| string header_name = 1; | ||
|
|
Signed-off-by: Snow Pettersen <[email protected]>
mattklein123
approved these changes
Mar 11, 2021
aunu53
pushed a commit
to aunu53/envoy
that referenced
this pull request
Mar 19, 2021
Adds support for matching on HTTP request and response trailers. Also fixes a bug around skipping filter iteration where we would not skip encoding trailers even if the skip_filter_ flag was set. Signed-off-by: Snow Pettersen <[email protected]> Signed-off-by: Auni Ahsan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for matching on HTTP request and response trailers.
Refactors the matching classes into a Http::Matching namespace to de-clutter the FM.
Fixes a bug around skipping filter iteration where we would not
skip encoding trailers even if the skip_filter_ flag was set.
Signed-off-by: Snow Pettersen [email protected]
Risk Level: Medium, FM changes that should only touch matching flows
Testing: UTs
Docs Changes: Proto docs
Release Notes: n/a