From 00d2473398cb531eb01029096a97f94aeecaacf0 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Thu, 8 Nov 2018 17:11:10 +0000 Subject: [PATCH] http connection manager: Add configurable request path timeout (#4456) Signed-off-by: Auni Ahsan Mirrored from https://github.com/envoyproxy/envoy @ c41fa7118e69a0872074d7a685a62331c5d5c17e --- .../v2/http_connection_manager.proto | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto b/envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto index 09e8f526..21fb5c44 100644 --- a/envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto +++ b/envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto @@ -20,7 +20,7 @@ import "gogoproto/gogo.proto"; // [#protodoc-title: HTTP connection manager] // HTTP connection manager :ref:`configuration overview `. -// [#comment:next free field: 28] +// [#comment:next free field: 29] message HttpConnectionManager { enum CodecType { option (gogoproto.goproto_enum_prefix) = false; @@ -165,6 +165,12 @@ message HttpConnectionManager { // timeout, although per-route idle timeout overrides will continue to apply. google.protobuf.Duration stream_idle_timeout = 24 [(gogoproto.stdduration) = true]; + // A timeout for idle requests managed by the connection manager. + // The timer is activated when the request is initiated, and is disarmed when the last byte of the + // request is sent upstream (i.e. all decoding filters have processed the request), OR when the + // response is initiated. If not specified or set to 0, this timeout is disabled. + google.protobuf.Duration request_timeout = 28 [(gogoproto.stdduration) = true]; + // The time that Envoy will wait between sending an HTTP/2 “shutdown // notification” (GOAWAY frame with max stream ID) and a final GOAWAY frame. // This is used so that Envoy provides a grace period for new streams that