buffer filter: route-local overrides and disabling (#3120)

Signed-off-by: Chris Roche <croche@lyft.com>

Mirrored from https://github.com/envoyproxy/envoy @ d338e45e31be628f19c895003d0aeee6be18d32f
pull/620/head
data-plane-api(CircleCI) 7 years ago
parent 0523c57ee5
commit 8e72927c31
  1. 12
      envoy/config/filter/http/buffer/v2/buffer.proto

@ -22,3 +22,15 @@ message Buffer {
google.protobuf.Duration max_request_time = 2
[(validate.rules).duration = {required: true, gt: {}}, (gogoproto.stdduration) = true];
}
message BufferPerRoute {
oneof override {
option (validate.required) = true;
// Disable the buffer filter for this particular vhost or route.
bool disabled = 1 [(validate.rules).bool.const = true];
// Override the global configuration of the filter with this new config.
Buffer buffer = 2 [(validate.rules).message.required = true];
}
}

Loading…
Cancel
Save