From 1aa92c45c7f84f5c777f44d04079c11ae6e107f1 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Fri, 15 Feb 2019 18:33:53 +0000 Subject: [PATCH] tap: implement buffered data limiting for the tap transport socket (#5958) Also optimize the buffering path to reduce copies. Signed-off-by: Matt Klein Mirrored from https://github.com/envoyproxy/envoy @ 59d599981fc94d37485ee59b820c929560e25438 --- envoy/data/tap/v2alpha/transport.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/envoy/data/tap/v2alpha/transport.proto b/envoy/data/tap/v2alpha/transport.proto index 953f262c..43188949 100644 --- a/envoy/data/tap/v2alpha/transport.proto +++ b/envoy/data/tap/v2alpha/transport.proto @@ -67,4 +67,12 @@ message SocketTrace { // Sequence of observed events. repeated SocketEvent events = 2; + + // Set to true if read events were truncated due to the :ref:`max_buffered_rx_bytes + // ` setting. + bool read_truncated = 3; + + // Set to true if write events were truncated due to the :ref:`max_buffered_tx_bytes + // ` setting. + bool write_truncated = 4; }