Replies: 1 comment
-
我是用上述程序测试了muduo的EchoServer,muduo能正确处理RST的情况,当服务端接收到 RST时,在触发 handleError处理掉 错误事件后,下一轮 poll 会返回 EPOLLHUB,触发 handleClose |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CottonTnT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
假如此时只注册了EPOLLIN, 对于 同时 EPOLLIN | EPOLLERR的情况,
对于 EPOLLERR 也只是打了日志
Beta Was this translation helpful? Give feedback.
All reactions