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

On Saturday, March 19, 2022 at 8:53:42 PM UTC+1 trending.n...@gmail.com 
wrote:

> 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 
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/69b72d3c-4c7b-449f-94e8-37f77d468619n%40googlegroups.com.

Reply via email to