-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
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,但网络代理有点问题速度太慢)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels