-
Notifications
You must be signed in to change notification settings - Fork 105
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
解码器里的channelRead的msg,是按照MTU分割了,而并没有组装成发送时的完整数据么? #9
Comments
没有组装成完整数据。可以自己写解码器实现。 |
新的版本已经可以合并数据分段了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
想测试一下,大数据包的发送, 发了一个 1024 字节的消息。但解码器收到的前三次消息打印如下
server rec len :488
server rec len :488
server rec len :48
所以,这里没有做消息组装?应该如何组装出发送时的原始数据?
这里需要自己手动做消息缓存,来处理半包的组装么?
The text was updated successfully, but these errors were encountered: