aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-09-29 10:05:50 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-09-29 10:05:50 -0700
commita40d4711104708152c56c1246a41eb9160e18df2 (patch)
tree4909ae3dc8da8cde2656f71eed66ef1d6a8ab115 /include
parent473e8f9c64ca99f28c91377578de7a06435a63c8 (diff)
Plumb through GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET.
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/impl/codegen/client_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/client_context.h b/include/grpc++/impl/codegen/client_context.h
index dd37e6a850..a330ed06bb 100644
--- a/include/grpc++/impl/codegen/client_context.h
+++ b/include/grpc++/impl/codegen/client_context.h
@@ -354,7 +354,10 @@ class ClientContext {
uint32_t initial_metadata_flags() const {
return (idempotent_ ? GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST : 0) |
(wait_for_ready_ ? GRPC_INITIAL_METADATA_WAIT_FOR_READY : 0) |
- (cacheable_ ? GRPC_INITIAL_METADATA_CACHEABLE_REQUEST : 0);
+ (cacheable_ ? GRPC_INITIAL_METADATA_CACHEABLE_REQUEST : 0) |
+ (wait_for_ready_explicitly_set_
+ ? GRPC_INITIAL_METADATA_WAIT_FOR_READY_EXPLICITLY_SET
+ : 0);
}
grpc::string authority() { return authority_; }