You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by ww...@apache.org on 2023/08/16 07:23:22 UTC
[brpc] branch master updated: selective_channle support response_attachment (#2329)
This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new d72d3205 selective_channle support response_attachment (#2329)
d72d3205 is described below
commit d72d32052e8f1f0086070ac9968a36f587794ecf
Author: youcheng huang <69...@qq.com>
AuthorDate: Wed Aug 16 15:23:16 2023 +0800
selective_channle support response_attachment (#2329)
Co-authored-by: yuncheng <yu...@pinduoduo.com>
---
src/brpc/selective_channel.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/brpc/selective_channel.cpp b/src/brpc/selective_channel.cpp
index e3410409..9ad5f9a0 100644
--- a/src/brpc/selective_channel.cpp
+++ b/src/brpc/selective_channel.cpp
@@ -354,6 +354,7 @@ void SubDone::Run() {
main_cntl->_remote_side = _cntl._remote_side;
// connection_type may be changed during CallMethod.
main_cntl->set_connection_type(_cntl.connection_type());
+ main_cntl->response_attachment().swap(_cntl.response_attachment());
Resource r;
r.response = _cntl._response;
r.sub_done = this;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org