[grpc-io] Re: Is there a way to tell if Write failed because the msg is too big

2018-10-03 Thread 'Srini Polavarapu' via grpc.io
After the write fails, you have to call Finish() to get the status. See example here: https://grpc.io/docs/tutorials/async/helloasync-cpp.html On Wednesday, September 26, 2018 at 12:17:05 PM UTC-7, dataman wrote: > > > Thanks for the response! I am using the async Write. There is no status >

[grpc-io] Re: Is there a way to tell if Write failed because the msg is too big

2018-09-26 Thread dataman
Thanks for the response! I am using the async Write. There is no status returned in the call to Write itself. The Next call to the completion queue has no status indication as well, except for the success/failure boolean value. On Wednesday, September 26, 2018 at 2:05:44 PM UTC-4, Muxi Yan

[grpc-io] Re: Is there a way to tell if Write failed because the msg is too big

2018-09-26 Thread 'Muxi Yan' via grpc.io
AFAIK the error detail should be included in the returned status of the call. On Thursday, September 20, 2018 at 7:22:49 AM UTC-7, dataman wrote: > > > Hi all, > > I am working on an async gRPC client in C++. Due to server limitations we > need to cap the max send msg size in the client. When