ext_proc: Support clearing the route cache (#16288)

Commit Message: Support the clear_route_cache parameter on responses
from the remote server

Risk Level: Low. Only enabled if the flag is set.

Testing: New unit test to ensure that the method is called.

Docs Changes: Marked "clear_route_cache" in the API as no longer
"not-implemented".

Release Notes: If the clear_route_cache flag is set on a
response from the external processing server, then the filter will
call the "clearRouteCache" method on the filter state. Processors
should set this flag if they have changed any headers, such as
":path", which may affect routing after the filter runs.

Signed-off-by: Gregory Brail <gregbrail@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ b7ce74e8cc8d882ef23146c5039712e84796950e
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent a87e681966
commit 1ece2a3d0a
  1. 1
      envoy/service/ext_proc/v3alpha/external_processor.proto

@ -264,7 +264,6 @@ message CommonResponse {
// along with the CONTINUE_AND_REPLACE status.
config.core.v3.HeaderMap trailers = 4;
// [#not-implemented-hide:]
// Clear the route cache for the current request.
// This is necessary if the remote server
// modified headers that are used to calculate the route.

Loading…
Cancel
Save