diff options
author | Yang Gao <yangg@google.com> | 2015-04-02 09:24:39 -0700 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-04-02 09:24:39 -0700 |
commit | b53af532afaf9458ea279d3a97e249bd59732f0f (patch) | |
tree | 56695cc128a48f62bc7194f9462d1da7080d3090 /include/grpc++/impl/call.h | |
parent | 1bd4736527ca691217b56e8287e4121a9d4fc684 (diff) |
Bug fix. User can destroy status after calling Finish and we should keep a copy of it instead of a pointer
Diffstat (limited to 'include/grpc++/impl/call.h')
-rw-r--r-- | include/grpc++/impl/call.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h index e117ac6313..7ba758040b 100644 --- a/include/grpc++/impl/call.h +++ b/include/grpc++/impl/call.h @@ -109,7 +109,9 @@ class CallOpBuffer : public CompletionQueueTag { char* status_details_; size_t status_details_capacity_; // Server send status - const Status* send_status_; + bool send_status_; + grpc_status_code send_status_code_; + grpc::string send_status_details_; size_t trailing_metadata_count_; grpc_metadata* trailing_metadata_; int cancelled_buf_; |