Bright Chen
Bright Chen
client端的连接也需要回调?
如果只需要在Socket Failed的时候回调的话,使用Socket::NotifyOnFailed可以实现OnClosedConnection的回调。 https://github.com/apache/brpc/blob/761b399e50ba95dddec363662a1bf0b42254f18f/src/brpc/socket.cpp#L1044-L1058 可以参考Controller::NotifyOnCancel的用法: https://github.com/apache/brpc/blob/761b399e50ba95dddec363662a1bf0b42254f18f/src/brpc/controller.cpp#L539-L561
Not supported. Window is one-to-one, but MultiDimension is multidimensional.
应该是FLAGS_usercode_in_pthread这个gflag设置吧。
done->Run()不会等。
cc @wasphin
According to the plan, the community will release a new version in April.
试试[持续下载](https://github.com/apache/brpc/blob/master/docs/cn/http_client.md#%E6%8C%81%E7%BB%AD%E4%B8%8B%E8%BD%BD)看有没有改善?
可以抓包看看server发包情况吧
会不会是网络问题或者client收数据慢了呢? 1. 有没有发生丢包、重传、拥塞控制? 2. 分析一下抓包数据,client的接受窗口有没有变化? 3. 看一下bvar内置服务rpc_keepwrite_second、rpc_waitepollout_count、rpc_waitepollout_second这三个指标。