From a3c7b1d67fdc8cb8eb92a351c12ba00e59fd3394 Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Thu, 18 Apr 2024 07:59:26 +0000 Subject: [PATCH] generic proxy router api add timeout field (#33641) Signed-off-by: liulanyi <2646907366@qq.com> Mirrored from https://github.com/envoyproxy/envoy @ 651bf1d83d1bfa1de8f7bbb0d08982074ea2f4b9 --- .../network/generic_proxy/action/v3/action.proto | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/contrib/envoy/extensions/filters/network/generic_proxy/action/v3/action.proto b/contrib/envoy/extensions/filters/network/generic_proxy/action/v3/action.proto index d60a6f76..826379a9 100644 --- a/contrib/envoy/extensions/filters/network/generic_proxy/action/v3/action.proto +++ b/contrib/envoy/extensions/filters/network/generic_proxy/action/v3/action.proto @@ -6,6 +6,7 @@ import "envoy/config/core/v3/base.proto"; import "envoy/config/route/v3/route_components.proto"; import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; import "xds/annotations/v3/status.proto"; @@ -22,7 +23,7 @@ option (xds.annotations.v3.file_status).work_in_progress = true; // [#protodoc-title: Generic Proxy Route Action Configuration] // Configuration for the route match action. -// [#next-free-field: 6] +// [#next-free-field: 7] message RouteAction { // The name of the route action. This should be unique across all route actions. string name = 5; @@ -47,4 +48,11 @@ message RouteAction { // ` in the :ref:`generic filters // `. map per_filter_config = 4; + + // Specifies the upstream timeout for the route. If not specified, the default is 15s. This + // spans between the point at which the entire downstream request (i.e. end-of-stream) has been + // processed and when the upstream response has been completely processed. A value of 0 will + // disable the route's timeout. + // [#not-implemented-hide:] + google.protobuf.Duration timeout = 6; }