We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如 curl 设置 connect 超时和 request 超时都是 1 秒的话,如果访问的地址比如是 10.0.0.1:8000 网络不可达(比如路由丢了),curl 会报 connect 超时 但是 brpc 都是报 reached timeout
只有brpc 的 connect 超时设置 500ms,operate 超时设置 1 秒的时候访问 10.0.0.1:8000这样不可达的地址的时候 brpc 才会正常报 connection timeout
希望客户端能够不要在 connect 超时和 request 超时设置一样的时候都是返回 read timeout,这样无法区分。
The text was updated successfully, but these errors were encountered:
把connect超时设置小一点就可以了。如果设置connect超时跟rpc超时一样,相当于connect超时是不生效的。
Sorry, something went wrong.
No branches or pull requests
比如 curl 设置 connect 超时和 request 超时都是 1 秒的话,如果访问的地址比如是 10.0.0.1:8000 网络不可达(比如路由丢了),curl 会报 connect 超时
但是 brpc 都是报 reached timeout
只有brpc 的 connect 超时设置 500ms,operate 超时设置 1 秒的时候访问 10.0.0.1:8000这样不可达的地址的时候 brpc 才会正常报 connection timeout
希望客户端能够不要在 connect 超时和 request 超时设置一样的时候都是返回 read timeout,这样无法区分。
The text was updated successfully, but these errors were encountered: