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
https://github.com/Tencent/Tars/blob/master/cpp/util/src/tc_clientsocket.cpp#L278
这里还是需要处理EPOLLERR和EPOLLHUP的,不是说epoll_wait返回了大于0个就是成功了。 我们项目里面通过tc_http调用到这里的,推测是因为这里没处理一场,导致到了后面的send就会有可能返回ECONNREFUSED。
公司代码库没看到哪里可以提bug,就这里提了,欢迎反馈rtx richieyu。
The text was updated successfully, but these errors were encountered:
多谢反馈,我们修复一下。
Sorry, something went wrong.
No branches or pull requests
https://github.com/Tencent/Tars/blob/master/cpp/util/src/tc_clientsocket.cpp#L278
这里还是需要处理EPOLLERR和EPOLLHUP的,不是说epoll_wait返回了大于0个就是成功了。
我们项目里面通过tc_http调用到这里的,推测是因为这里没处理一场,导致到了后面的send就会有可能返回ECONNREFUSED。
公司代码库没看到哪里可以提bug,就这里提了,欢迎反馈rtx richieyu。
The text was updated successfully, but these errors were encountered: