SetMaxReceiveMessageSize do not change the max size as expected

513 views
Skip to first unread message

Trending Now

unread,
Mar 19, 2022, 3:53:42 PM3/19/22
to grpc.io
ChannelArguments has a SetMaxReceiveMessageSize method:


I've used something like:

  grpc::ChannelArguments args;
  args.SetMaxReceiveMessageSize(MAX_RECEIVE_MESSAGE_SIZE);
  grpc::CreateCustomChannel(PORT, grpc::InsecureChannelCredentials(), args);

But I got always 4 * 1024 * 1024 4 MB as MAX SIZE in my C++ Client !

Is it an issue

MD ATIF BIN KARIM

unread,
Mar 20, 2022, 5:48:53 AM3/20/22
to grpc.io
Reply all
Reply to author
Forward
0 new messages