diff options
author | Mark D. Roth <roth@google.com> | 2016-09-29 10:06:33 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-09-29 10:06:33 -0700 |
commit | e99538d783850900845bd612b8f27bf41386615a (patch) | |
tree | 4dfb57d27aa0552caba1dfe2c87f4a15de63805f /include | |
parent | 6336ef7bad13fbadddcfc12a7b253db6e6dfdbe7 (diff) | |
parent | a40d4711104708152c56c1246a41eb9160e18df2 (diff) |
Merge branch 'fail_fast' into service_config
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/impl/codegen/client_context.h | 5 |
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_; } |