jiang4357291 opened a new issue #1204:
URL: https://github.com/apache/incubator-brpc/issues/1204
**Describe the bug (描述bug)**
利用brpc实现了的http server,然后用client去访问,发现有时候client拿到的response attachment为空,
但是service处却发现response不为空,具体代码依赖较多也不便展示,想请问下可以从什么思路去排查?
**To Reproduce (复现方法)**
**Expected behavior (期望行为)**
**Versions (各种版本)**
OS:debian 9
Compiler:g++ 6.3.0
brpc:
protobuf:
**Additional context/screenshots (更多上下文/截图)**
service侧接口最后调用os.move_to(cntl->response_attachment())后打印cntl->response_attachment()->to_string()有如下内容:{"err_msg":"","err_code":0}
channel侧打印cntl.response_attachment().to_string()为空
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]