Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dfp: Disable DNS refresh on failure (#38215)
Commit Message: Adds a feature to disable DNS refresh on failure by setting `DnsCache.disable_dns_refresh_on_failure` to true. By enabling this feature, failed hosts will be treated as a cache miss. Additional Description: In a mobile environment where the network connectivity can change a lot, such as airplane mode, offline to online, switching from cellular to WiFi, etc., using the DNS cache for the failed hosts means the requests to those hosts will automatically fail until the next DNS cache refresh. Having an automatic DNS refresh on failures unnecessarily (such as when the device is offline) can also waste the battery life. Risk Level: low (a new feature) Testing: unit and integration tests Docs Changes: inline Release Notes: inline Platform Specific Features: dfp --------- Signed-off-by: Fredy Wijaya <fredyw@google.com> Mirrored from https://github.com/envoyproxy/envoy @ c0a1be5b5604bc963254a9f5f76bec6ed23d6a40
- Loading branch information