[grpc-io] grpc.max_metadata_size

2018-03-13 Thread aamit via grpc.io
Hi, Had 2 questions regarding using "grpc.max_metadata_size" 1. It was not clear to me that `max_metadata_size` takes into account size of "detail" part of response. Can we allow setting "max_metadata_size" to -1 to represent unlimited as with `max_send_message_length` and `max_receive_message

Re: [grpc-io] grpc.max_metadata_size

2018-03-19 Thread 'Mark D. Roth' via grpc.io
The max metadata size translates to the HTTP/2 MAX_HEADER_LIST_SIZE setting, defined in https://tools.ietf.org/html/rfc7540#section-6.5.2. Since the status details are sent as part of trailing metadata, they count toward this size limit. The HTTP/2 settings value needs to fit in 32 bits, so the cl