C++ header list size violation

100 views
Skip to first unread message

A M

unread,
Feb 10, 2022, 3:14:16 PM2/10/22
to grpc.io
Hello

I am getting this error on a C++ gRPC server. 
"header list size to send violates the maximum size (4096 bytes) set by server."
I see this in the gRPC docs at least `https://pkg.go.dev/google.golang.org/grpc#WithMaxHeaderListSize` for the golang client and `https://pkg.go.dev/google.golang.org/grpc#MaxHeaderListSize` for the golang server.

Is there any equivalent like ServerBuilder.MaxHeaderListSize() in C++?

I appreciate any help you can provide.

yas...@google.com

unread,
Feb 16, 2022, 1:09:22 PM2/16/22
to grpc.io
The channel arg `GRPC_ARG_MAX_METADATA_SIZE` serves that purpose.
Reply all
Reply to author
Forward
0 new messages