aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/codegen/sync_stream.h
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-06-07 15:00:52 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-06-07 15:00:52 -0700
commitd23710787b8a7bab4a74b4f80021d08c906b2f65 (patch)
treeff7e2f21d7fb5a49ea7123297ddf1e055c8d3541 /include/grpc++/impl/codegen/sync_stream.h
parentc6bf5f79b27be43e9fd3ab82273b62303d593708 (diff)
parentd30d4e279c4a63effaa6e912fc00bd4ad96054c7 (diff)
Merge remote-tracking branch 'upstream/master' into reflection_separate_lib
Diffstat (limited to 'include/grpc++/impl/codegen/sync_stream.h')
-rw-r--r--include/grpc++/impl/codegen/sync_stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/sync_stream.h b/include/grpc++/impl/codegen/sync_stream.h
index 9100ce09a2..e94ffe5842 100644
--- a/include/grpc++/impl/codegen/sync_stream.h
+++ b/include/grpc++/impl/codegen/sync_stream.h
@@ -189,6 +189,7 @@ class ClientWriter : public ClientWriterInterface<W> {
ClientContext* context, R* response)
: context_(context), call_(channel->CreateCall(method, context, &cq_)) {
finish_ops_.RecvMessage(response);
+ finish_ops_.AllowNoMessage();
CallOpSet<CallOpSendInitialMetadata> ops;
ops.SendInitialMetadata(context->send_initial_metadata_,