Skip to content
New issue

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

多个client端连接的情况下突然拔掉网线的情况无法识别到并且会影响其他正常连接的client #91

Open
qingshutie opened this issue Jun 24, 2024 · 3 comments

Comments

@qingshutie
Copy link

链接两个以上的client之后,拔掉其中一个的网线,另外的几个都会受到影响,画面会卡顿,经过分析,发现是epoll和select都无法响应tcp keepalive,导致无法正常remove掉已经断开连接的client,整个server从逻辑上就出现了问题

@qingshutie
Copy link
Author

已经在尝试修改,但是目前没太多时间,等有时间再提pr

@yanghailang
Copy link

@qingshutie
请教一下,为什么拔掉一个会对其他几个有影响?原理上看,多个tcp连接之间应该互不影响吧。还是说你指的是在多路取流时,这个项目里服务端代码实现有问题?

@qingshutie
Copy link
Author

@qingshutie 请教一下,为什么拔掉一个会对其他几个有影响?原理上看,多个tcp连接之间应该互不影响吧。还是说你指的是在多路取流时,这个项目里服务端代码实现有问题?

是有问题的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants