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

抛了KcpException,必须要断开连接吗 #15

Open
ghost opened this issue Sep 4, 2019 · 3 comments
Open

抛了KcpException,必须要断开连接吗 #15

ghost opened this issue Sep 4, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 4, 2019

测试大量连接发包时,会出现很多这个异常导致连接断开。

@szhnet
Copy link
Owner

szhnet commented Sep 9, 2019

应该是连接断开导致抛出异常。

@slive
Copy link

slive commented Nov 28, 2019

我现在遇到一种情况,kcp服务器前有个F5,F5会定期发送健康检查的UDP包到服务器,因为发送的UDP包小于24个字节导致报错,然后就主动关闭连接。所以是不是考虑一下这种非标准的UDP包自动过滤或者丢弃掉,然后只是提示告警?

@szhnet
Copy link
Owner

szhnet commented Dec 31, 2019

@slive 加个开关忽略掉输入错误怎么样?

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