aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-11-01 16:14:40 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-11-01 16:14:40 -0700
commitb732e9c4037e046354e959c67e789d9e3fcec5f1 (patch)
treefa1cc6b061b9278ab935b7f0cb30b1f430247a95 /include
parente2361a4751435f86b27ca7d4c690c38346c9ed63 (diff)
Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests
Diffstat (limited to 'include')
-rw-r--r--include/grpcpp/impl/codegen/client_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpcpp/impl/codegen/client_context.h b/include/grpcpp/impl/codegen/client_context.h
index f53b744dcf..75b955e760 100644
--- a/include/grpcpp/impl/codegen/client_context.h
+++ b/include/grpcpp/impl/codegen/client_context.h
@@ -426,6 +426,8 @@ class ClientContext {
grpc::string authority() { return authority_; }
+ void SendCancelToInterceptors();
+
bool initial_metadata_received_;
bool wait_for_ready_;
bool wait_for_ready_explicitly_set_;