-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Update PacketDecoder.java #301
Conversation
FIX for: Polling clients sporatically get prematurely disconnected mrniko#264 The issue is piggy-backed messages are getting dropped on polling, The code I removed was simply taking the 1st message and dropping the rest. Part of that rest could've been an Pong or Ping (as well as other data), and thus causes the dropping of the polling client connection.
oh, thanks! I have been waiting it! |
Hi, And I have checked the code, I foud this change looks like the reason, can you help me to fonfirm it, |
|
Yes, if I rollback your change, it works, but I belive if I rollback your changed code, it means another problem I think. Could you help me to have a look please? thank you very much! |
没有遇到过这种问题,我直接用的就是最新的release |
Few things to try:
|
Actually the more I look at that #1 I mentioned with getBytes(UTF8) the more I think that is the issue. |
FIX for: Polling clients sporatically get prematurely disconnected #264
The issue is piggy-backed messages are getting dropped on polling, The code I removed was simply taking the 1st message and dropping the rest.
Part of that rest could've been an Pong or Ping (as well as other data), and thus causes the dropping of the polling client connection.