diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-09 19:43:00 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-09 19:43:00 -0800 |
commit | 699c10386d6f0cbed7364e5a94144f0794f469d5 (patch) | |
tree | 45078da6fb48ac92da885ce0ddfb9d2afad14a56 /include/grpcpp/impl/codegen/call_op_set.h | |
parent | 6a368df7ab746c973d41cf0b53494577ee1874f3 (diff) |
Add method to fail recv msg for hijacked rpcs
Diffstat (limited to 'include/grpcpp/impl/codegen/call_op_set.h')
-rw-r--r-- | include/grpcpp/impl/codegen/call_op_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpcpp/impl/codegen/call_op_set.h b/include/grpcpp/impl/codegen/call_op_set.h index b4c34a01c9..aae8b9d3e3 100644 --- a/include/grpcpp/impl/codegen/call_op_set.h +++ b/include/grpcpp/impl/codegen/call_op_set.h @@ -406,7 +406,7 @@ class CallOpRecvMessage { void SetInterceptionHookPoint( InterceptorBatchMethodsImpl* interceptor_methods) { - interceptor_methods->SetRecvMessage(message_); + interceptor_methods->SetRecvMessage(message_, &got_message); } void SetFinishInterceptionHookPoint( @@ -501,7 +501,7 @@ class CallOpGenericRecvMessage { void SetInterceptionHookPoint( InterceptorBatchMethodsImpl* interceptor_methods) { - interceptor_methods->SetRecvMessage(message_); + interceptor_methods->SetRecvMessage(message_, &got_message); } void SetFinishInterceptionHookPoint( |