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
tao/message.go
Line 196 in 50d6193
The text was updated successfully, but these errors were encountered:
我以前在做游戏开发的时候遇到过这种问题……突然收到一个包,检查它的len字段发现这个数据包有几十上百M,就是直接关闭链接处理的,因为某种程度上我可以把它当成某种恶意消息
Sorry, something went wrong.
No branches or pull requests
tao/message.go
Line 196 in 50d6193
代码中对读出的msgLen大于MessageMaxBytes,就直接返回关闭连接吗。
有没有更好的处理方法?
The text was updated successfully, but these errors were encountered: