-
Notifications
You must be signed in to change notification settings - Fork 5.3k
listener: filter chain selection based on destination IP/port. #3851
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
Merged
mattklein123
merged 10 commits into
envoyproxy:master
from
PiotrSikora:filter_chain_destination
Jul 13, 2018
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
496da24
listener: filter chain selection based on destination IP/port.
PiotrSikora b2c8bcf
review: rename filter_chains_ to destination_ports_map_.
PiotrSikora d2744aa
review: use PROTOBUF_GET_WRAPPED_OR_DEFAULT().
PiotrSikora e43be82
review: use std::make_unique.
PiotrSikora e3666e0
review: use static fake address.
PiotrSikora 4cd5313
review: replace EMPTY_STRING with empty() check.
PiotrSikora dd76278
review: rename finishFilterChains() to convertDestinationIPsMapToTrie().
PiotrSikora 019a602
Revert "review: replace EMPTY_STRING with empty() check."
PiotrSikora 1fbd85d
review: add tests for UDS clients.
PiotrSikora f8b2ea6
Merge remote-tracking branch 'origin/master' into PiotrSikora/filter_…
PiotrSikora File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
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.
entry.first.empty() ?
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.
Done, although I feel that the old check was a bit more correct, since we're checking if it's the
map[EMPTY_STRING]entry.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.
Oh, right, I forgot that's what it is doing. In that case, I'd be ok with putting it back to how you had it.