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
Gateway测试用例中,客户端发送的字符串为"HelloHe...",而收到的是一段Base64编码的字符串,内容完全不同。 经查,原因在GateWayCase.cs中
SocketData函数中 ` List<byte[]> buffList = new List<byte[]>();
buffList.Add(Encoding.ASCII.GetBytes(data.buffer)); message.Buffers = buffList;`
改为 ` List<byte[]> buffList = new List<byte[]>();
buffList.Add(Convert.FromBase64String(data.buffer)); message.Buffers = buffList;`
即可。 (本来想提PR,但网络代理有点问题速度太慢)
The text was updated successfully, but these errors were encountered:
感谢你的反馈,此bug已修复,7c635983faade2ddc8ba07ad7289295d2f8e5757。 SparkServer目前已经在我们的slg项目上使用,经过几次压测,性能表现满足项目需要,能够直接使用客户端战斗逻辑,为服务端节约了战斗开发的人力资源。
Sorry, something went wrong.
No branches or pull requests
Gateway测试用例中,客户端发送的字符串为"HelloHe...",而收到的是一段Base64编码的字符串,内容完全不同。
经查,原因在GateWayCase.cs中
SocketData函数中
`
List<byte[]> buffList = new List<byte[]>();
改为
`
List<byte[]> buffList = new List<byte[]>();
即可。
(本来想提PR,但网络代理有点问题速度太慢)
The text was updated successfully, but these errors were encountered: