api: add a field in Listener proto to be able to reverse the order of TCP write filters (#4889)

Add a field in listener proto to be able to reverse the order of TCP write filters. The field is set false by default, indicating write filters have the same order as configured in the filter chain. If true, their order will be reversed.

Risk Level: Low
Testing: bazel test //test/...
Part of #4599

Signed-off-by: Qi (Anna) Wang <qiwang@qiwang-macbookpro.roam.corp.google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 5da782c8503aa2664ceac1995628d161bbaa6441
pull/620/head
data-plane-api(CircleCI) 7 years ago
parent bb05806182
commit 911001cdca
  1. 8
      envoy/api/v2/lds.proto

@ -163,4 +163,12 @@ message Listener {
// On macOS, only values of 0, 1, and unset are valid; other values may result in an error. // On macOS, only values of 0, 1, and unset are valid; other values may result in an error.
// To set the queue length on macOS, set the net.inet.tcp.fastopen_backlog kernel parameter. // To set the queue length on macOS, set the net.inet.tcp.fastopen_backlog kernel parameter.
google.protobuf.UInt32Value tcp_fast_open_queue_length = 12; google.protobuf.UInt32Value tcp_fast_open_queue_length = 12;
// If true, the order of write filters will be reversed to that of filters
// configured in the filter chain. Otherwise, it will keep the existing
// order. Note: this is a bug fix for Envoy, which is designed to have the
// reversed order of write filters to that of read ones, (see
// https://github.com/envoyproxy/envoy/issues/4599 for details). When we
// remove this field, Envoy will have the same behavior when it sets true.
google.protobuf.BoolValue bugfix_reverse_write_filter_order = 14 [deprecated = true];
} }

Loading…
Cancel
Save