file system buffer: Prevent 0 byte memory buffers (#21714)

Signed-off-by: Andre Vehreschild <vehre@x41-dsec.de>

Mirrored from https://github.com/envoyproxy/envoy @ 9832927d2505e98d65a1b92e6633e9cfee2e68c3
pull/626/head
data-plane-api(Azure Pipelines) 2 years ago
parent df24105490
commit ed98bdfea8
  1. 2
      envoy/extensions/filters/http/file_system_buffer/v3/file_system_buffer.proto

@ -71,7 +71,7 @@ message StreamConfig {
// The amount stored in the memory buffer before buffering to disk.
// If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
google.protobuf.UInt64Value memory_buffer_bytes_limit = 2;
google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(validate.rules).uint64 = {gt: 0}];
// The maximum storage (excluding memory) to be buffered in this filter.
// If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB

Loading…
Cancel
Save