🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
9.7k
stars
1.04k
forks
source link
[Bug]: accept 接收到 unix.ECONNABORTED 错误时,main reactor is exiting 会退出 #453
Closed
CloudGuan closed 1 year ago
Actions I've taken before I'm here
What happened?
系统 Debain 10 gnet 版本 v1.6.4
应用在服务端监听时, accept 收到 unix.ECONNABORTED 错误会导致 gnet.Serve 退出,
而 unix.ECONNABORTED 我看到在 /net/ipv4/af_inet.c 中
在accpet调用前客户端立刻关闭连接,是否可以考虑忽略这个错误,继续accept
Major version of gnet
v1
Specific version of gnet
v1.6.4
Operating system
Linux
Relevant log output
Code snippets (optional)
No response
How to Reproduce
Steps to reproduce the behavior:
Does this issue reproduce with the latest release?
It can reproduce with the latest release