Allow no message on sync unary call, just like async

pull/13874/head
Vijay Pai 7 years ago
parent fb2eb5279e
commit d5730c6c22
  1. 1
      include/grpc++/impl/codegen/client_unary_call.h

@ -65,6 +65,7 @@ class BlockingUnaryCallImpl {
context->initial_metadata_flags());
ops.RecvInitialMetadata(context);
ops.RecvMessage(result);
ops.AllowNoMessage();
ops.ClientSendClose();
ops.ClientRecvStatus(context, &status_);
call.PerformOps(&ops);

Loading…
Cancel
Save