Skip to content

config: few changes to help with protobuf string type mismatch.#1786

Merged
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
PiotrSikora:string2
Sep 30, 2017
Merged

config: few changes to help with protobuf string type mismatch.#1786
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
PiotrSikora:string2

Conversation

@PiotrSikora
Copy link
Copy Markdown
Contributor

This is helpful for Google import and shouldn't affect anybody else.

This is helpful for Google import and shouldn't affect anybody else.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
@PiotrSikora
Copy link
Copy Markdown
Contributor Author

@htuch @mattklein123

const std::string& Filter::upstreamZone(Upstream::HostDescriptionConstSharedPtr upstream_host) {
return upstream_host ? upstream_host->locality().zone() : EMPTY_STRING;
const std::string Filter::upstreamZone(Upstream::HostDescriptionConstSharedPtr upstream_host) {
return upstream_host ? upstream_host->locality().zone() : "";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add a TODO here also.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
@mattklein123 mattklein123 merged commit 3458a9b into envoyproxy:master Sep 30, 2017
costinm pushed a commit to costinm/envoy that referenced this pull request Oct 2, 2017
…yproxy#1786)

This is helpful for Google import and shouldn't affect anybody else.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Description: On mobile, backgrounding might cause the host to be past its TTL without good reason. Given the host would be deleted, and new streams for a given domain would have to wait for resolution, it is better to not delete existing hosts; especially since deletion only happens when re-resolving is already in progress. There is no way to disable so the value below is equivalent to 24 hours.
Risk Level: low
Testing: CI

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Description: On mobile, backgrounding might cause the host to be past its TTL without good reason. Given the host would be deleted, and new streams for a given domain would have to wait for resolution, it is better to not delete existing hosts; especially since deletion only happens when re-resolving is already in progress. There is no way to disable so the value below is equivalent to 24 hours.
Risk Level: low
Testing: CI

Signed-off-by: Jose Nino <jnino@lyft.com>
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.

2 participants