Skip to content

v2 api: RL, Client SSL, and other filters#2132

Merged
mattklein123 merged 4 commits intoenvoyproxy:masterfrom
rshriram:filters_v2
Nov 30, 2017
Merged

v2 api: RL, Client SSL, and other filters#2132
mattklein123 merged 4 commits intoenvoyproxy:masterfrom
rshriram:filters_v2

Conversation

@rshriram
Copy link
Member

Signed-off-by: Shriram Rajagopalan shriram@us.ibm.com

title: Moving rate limit (http/tcp), client ssl auth, echo filters to v2

Description: Filter conversion, some test case cleanup, code cleanup to have uniform variable naming, etc. Also removed deprecated_v1 from integration tests..

Risk Level: Medium
Testing: Unit tests and integration tests

Signed-off-by: Shriram Rajagopalan <shriram@us.ibm.com>
auto* descriptors = proto_config.mutable_descriptors();
for (const auto& json_descriptor : json_config.getObjectArray("descriptors", false)) {
auto* descriptor = descriptors->Add();
auto* entries = descriptor->mutable_entries();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I would just collapse the above two lines.

entry->set_address_prefix(cidr_str.substr(0, split_index));
if (split_index != std::string::npos) {
const char* prefix_len_str = cidr_str.substr(split_index + 1, std::string::npos).c_str();
entry->mutable_prefix_len()->set_value(std::atoi(prefix_len_str));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shriram Rajagopalan added 2 commits November 30, 2017 13:38
Signed-off-by: Shriram Rajagopalan <shriram@us.ibm.com>
Signed-off-by: Shriram Rajagopalan <shriram@us.ibm.com>
@mattklein123
Copy link
Member

@rshriram please fix format

Signed-off-by: Shriram Rajagopalan <shriram@us.ibm.com>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks! Go team!

@mattklein123 mattklein123 merged commit 3eef7e7 into envoyproxy:master Nov 30, 2017
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com

Picking up a crash fix for when ALL DNS mode is enabled on Android (as a result of Happy Eyeballs feature being enabled) #20551

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com

Picking up a crash fix for when ALL DNS mode is enabled on Android (as a result of Happy Eyeballs feature being enabled) #20551

Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants