Skip to content

Conversation

Redliver
Copy link
Contributor

socketio.js 2.0 + node socktio.js -> work well
socketio.js 2.0 + netty-socketio-1.7.16 -> invalid namespace

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:
before packet.setNsp, sub the query string

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
@mrniko mrniko added this to the 1.7.17 milestone Nov 25, 2018
@bradsmith
Copy link

this resolved an issue we were running into as well. any idea when 1.17.7 will be released? rather not have to build locally if we don't have to. thanks in advance!

@mrniko mrniko added the bug label Dec 29, 2018
@mrniko mrniko merged commit 61ff15f into mrniko:master Dec 29, 2018
@mrniko
Copy link
Owner

mrniko commented Dec 29, 2018

Thanks for contribution. Will make release during two weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants