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
ProtocolError的原因是我在报文里放了一个图片转换后的base64编码,图片大概2M左右,导致报文长度过长,后来我选择在报文里返回图片的id,再由客户端根据图片id去api里寻找图片。ProtocolError问题就没有了。 但是我发现我的程序在上面的情况导致的ProtocolError之后,我的客户端自动重连上服务端后,无法接收来自服务端的消息了,也没有任何报错。服务端仍旧可以接收到客户端的消息。
The text was updated successfully, but these errors were encountered:
不像是SuperSocket的问题,服务器上这个连接建立成功的log都没有吗?
Sorry, something went wrong.
No branches or pull requests
ProtocolError的原因是我在报文里放了一个图片转换后的base64编码,图片大概2M左右,导致报文长度过长,后来我选择在报文里返回图片的id,再由客户端根据图片id去api里寻找图片。ProtocolError问题就没有了。
但是我发现我的程序在上面的情况导致的ProtocolError之后,我的客户端自动重连上服务端后,无法接收来自服务端的消息了,也没有任何报错。服务端仍旧可以接收到客户端的消息。
The text was updated successfully, but these errors were encountered: