forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xds rate limit: fixing lower bound for xDS rate limiting (envoyproxy#…
…28778) Current fill_rate must be above 0.0 (PGV constraint). However, a low double value can cause an infinite value when computing 1/fill_rate and its cast to uint64_t fails. This PR changes the minimal fill_rate to be once-per-year, and if a lower value is given, it is overridden and set to once-per-year. Alternatives considered: changing the PGV value to 3.1709792e-8 (once-per-year). Risk Level: Low - minor change in behavior Testing: Added fuzz test case Docs Changes: Updated API comments Release Notes: Added. Platform Specific Features: N/A Fixes fuzz bug 60974 Signed-off-by: Adi Suissa-Peleg <[email protected]>
- Loading branch information
Showing
7 changed files
with
116 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.