15 Commits

Author SHA1 Message Date
Bright Chen 97c8771714 Fix host_socket not set for extra streams on client side (#3373)
Controller::HandleStreamConnection called s->SetHostSocket() on the first
stream inside the extra-stream loop. When an extra stream  carried no
downstream data (nothing triggered Stream::OnReceived to set host_socket
for it), Stream::SetConnected() hit CHECK(_host_socket != NULL).

Set host_socket on the extra stream itself, matching the server-side logic
in baidu_rpc_protocol.

Co-authored-by: jiangyt-git <64257436+jiangyt-git@users.noreply.github.com>
Co-authored-by: jiangyuting <jiangyutingwangyi@163.com>
2026-07-15 15:48:08 +08:00
fanbingxin 4eeb5e260a bazel: fix with_bthread_tracer config setting (#3111) 2025-10-08 17:13:01 +08:00
Bright Chen 337142f29e Support on_failed callback for streaming rpc (#2565)
* Support on_failed callback for streaming rpc

* Call on_failed before on_closed
2024-04-08 11:06:17 +08:00
wangweibing 8f0083999e Add gitignore for files generated during test 2021-07-12 03:12:33 +00:00
zhujiashun 2dc9cbad53 health_check_using_rpc: add single server 2019-03-23 13:47:02 +08:00
zhujiashun 0a000b4644 remove unnecessary code 2018-09-27 18:02:46 +08:00
Qihe Bian d42f35109a Fix cmake build issue when use this project as a submodule. (#428)
* Fix cmake build issue when use this project as a submodule.
* Add ignore.
2018-08-19 10:07:11 +08:00
zhujiashun ee458c7c30 Add build docs for macos 2018-05-03 17:30:52 +08:00
zhujiashun b92c498139 support conditional flags on certain gcc and compile proto file using cmake, based on CMakefile from kevin-xu-158 2017-12-03 07:16:35 -08:00
gejun b881a13300 revert .g^Cignore to previous version 2017-10-18 15:31:36 +08:00
Dong Zhihong a6408e5844 add docker 2017-10-14 14:31:25 -07:00
Zhangyi Chen 1e2d716f5e Shrink butil 2017-09-18 16:42:40 +08:00
gejun 5066c947ba Use the old .gitignore used in icode 2017-09-16 19:57:28 +08:00
Zhangyi Chen 2f2d7bce99 Add auto-generated files into git ignore 2017-09-15 10:48:58 +08:00
Ge Jun 39b91a2979 Initial commit 2017-09-04 17:28:48 +08:00