Groups
Groups
Sign in
Groups
Groups
grpc.io
Conversations
About
Send feedback
Help
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 PM
3/19/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
ChannelArguments has a SetMaxReceiveMessageSize method:
https://grpc.io/grpc/cpp/classgrpc_1_1_channel_arguments.html#a2629f85664dd2822fe54059c4730baf8
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 AM
3/20/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Here (
https://docs.microsoft.com/en-us/aspnet/core/grpc/security?view=aspnetcore-6.0#message-size-limits
) found the info that maximum size of the message is 4MB
Reply all
Reply to author
Forward
0 new messages