From 1d80e460f981c1ec7a70424c6e86a8c7a7e4d341 Mon Sep 17 00:00:00 2001 From: Greg Greenway Date: Fri, 8 Dec 2017 16:14:32 -0800 Subject: [PATCH] Add configuration for tcp proxy idle timeout. (#334) Signed-off-by: Greg Greenway --- api/filter/network/tcp_proxy.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/filter/network/tcp_proxy.proto b/api/filter/network/tcp_proxy.proto index 86c00829..022e31e2 100644 --- a/api/filter/network/tcp_proxy.proto +++ b/api/filter/network/tcp_proxy.proto @@ -32,6 +32,12 @@ message TcpProxy { // string cluster = 2; + // The idle timeout for connections managed by the TCP proxy filter. The idle timeout + // is defined as the period in which there are no bytes sent or received on either + // the upstream or downstream connection. If not set, connections will never be closed + // by the TCP proxy due to being idle. + google.protobuf.Duration idle_timeout = 8 [(validate.rules).duration.gt = {}]; + // [#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy // filter. The idle timeout is defined as the period in which there is no // active traffic. If not set, there is no idle timeout. When the idle timeout