joke-lee opened a new issue, #2836: URL: https://github.com/apache/brpc/issues/2836
比如 curl 设置 connect 超时和 request 超时都是 1 秒的话,如果访问的地址比如是 10.0.0.1:8000 网络不可达(比如路由丢了),curl 会报 connect 超时 但是 brpc 都是报 read timeout  只有brpc 的 connect 超时设置 500ms,operate 超时设置 1 秒的时候访问 10.0.0.1:8000这样不可达的地址的时候 brpc 才会正常报 connection timeout  希望客户端能够不要在 connect 超时和 request 超时设置一样的时候都是返回 read timeout,这样无法区分。 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
