Skip to content

Conversation

lovebing
Copy link
Owner

No description provided.

hangsu.cho and others added 30 commits May 23, 2018 16:30
 - If an endpoint receives a Close frame and did not previously send a
Close frame, the endpoint MUST send a Close frame in response.
[#547] process websocket CloseFrame
#596

reason:
WebSocketTransport line 144 : Packet packet = new Packet(PacketType.MESSAGE); //subType =null
PacketEncoder line 288: byte subType = toChar(packet.getSubType().getValue()); //NullPointerException

fix
WebSocketTransport
Packet packet = new Packet(PacketType.MESSAGE);
packet.setSubType(PacketType.MESSAGE);
socketio.js 2.0 + netty-socketio-1.7.16
reason: 
namespace request payload contains url query string info, like 
`8:40/chat,`
`49:40/chatroom?uid=ba7822bee25940ada9d2a987670afc5d,`

it does'n match `/chat` or `/chatroom` in namespacehub

fix: 
sub the query string
@lovebing lovebing merged commit af6116d into lovebing:master Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants