generic proxy router api add timeout field (#33641)

Signed-off-by: liulanyi <2646907366@qq.com>

Mirrored from https://github.com/envoyproxy/envoy @ 651bf1d83d1bfa1de8f7bbb0d08982074ea2f4b9
main
update-envoy[bot] 10 months ago
parent d2ed0ac0e9
commit a3c7b1d67f
  1. 10
      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 {
// <envoy_v3_api_field_config.core.v3.TypedExtensionConfig.name>` in the :ref:`generic filters
// <envoy_v3_api_field_extensions.filters.network.generic_proxy.v3.GenericProxy.filters>`.
map<string, google.protobuf.Any> 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;
}

Loading…
Cancel
Save