ratelimit: Add ratelimit custom response headers (#4015)
- Ability to add custom response headers from ratelimit service/filter - For both (LimitStatus::OK and LimitStatus::OverLimit) custom headers are added if RLS service sends headers - For LimitStatus:OK, we temporarily store the headers and add them to the response (via Filter::encodeHeaders()) *Risk Level*: Low *Testing*: unit and integration tests added. Verified with modified github.com/lyft/ratelimit service. Passes "bazel test //test/..." in Linux Signed-off-by: Suresh Kumar <suresh@freshdesk.com> Mirrored from https://github.com/envoyproxy/envoy @ 71152b710e3543732464fca57c8f07b7395de68dpull/620/head
parent
34928fe3ad
commit
ea5bba9e8e
2 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue