gRPC: Implement max_receive_message_length in envoy gRPC (#32711)

---------

Signed-off-by: tyxia <tyxia@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ c3f72258d482990a499c5203abcf3d1ae3fa4d58
main
update-envoy[bot] 8 months ago
parent 3db704df89
commit 3bdf6cf17e
  1. 6
      envoy/config/core/v3/grpc_service.proto

@ -49,6 +49,12 @@ message GrpcService {
// Currently only supported for xDS gRPC streams.
// If not set, xDS gRPC streams default base interval:500ms, maximum interval:30s will be applied.
RetryPolicy retry_policy = 3;
// Maximum gRPC message size that is allowed to be received.
// If a message over this limit is received, the gRPC stream is terminated with the RESOURCE_EXHAUSTED error.
// This limit is applied to individual messages in the streaming response and not the total size of streaming response.
// Defaults to 0, which means unlimited.
google.protobuf.UInt32Value max_receive_message_length = 4;
}
// [#next-free-field: 9]

Loading…
Cancel
Save