filter: clear route cache in language filter (#27872)

Signed-off-by: shooj4aegohbaivo <tdsna8viep7x5nsh@protonmail.com>

Mirrored from https://github.com/envoyproxy/envoy @ 2b0b1869a864abcc9e6f0309f914bdabf58b4455
main
update-envoy[bot] 1 year ago
parent cfc016814c
commit 27e05542ee
  1. 5
      contrib/envoy/extensions/filters/http/language/v3alpha/language.proto

@ -33,4 +33,9 @@ message Language {
unique: true
items {string {min_len: 2}}
}];
// If the x-language header is altered, clear the route cache for the current request.
// This should be set if the route configuration may depend on the x-language header.
// Otherwise it should be unset to avoid the performance cost of route recalculation.
bool clear_route_cache = 3;
}

Loading…
Cancel
Save