qiulang / socket.io-admin-ui

debug socket.io/admin-ui crash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Socket.IO Fiddle

$ npm install           # install the dependencies
$ npm start             # run the server
$ npm run client        # run the nodejs client

And point your browser to http://localhost:3000. Optionally, specify a port by supplying the PORT env variable.

Other branches:

How to report an issue

Please fork this project, edit it to reproduce the incorrect behavior and link it in the discussion here.

This is really important for us to be able to help you. Thanks!

socket.io-redis & @socket.io/admin-ui

Only when socket.io-redis & @socket.io/admin-ui works together and socket.emit('xxx', cb) the sever will crash

  // with callback it will crush server
  socket.emit('login', {user:"10001",token:"fake"},reply => {})
  // no callback it is fine
  // socket.emit('login', {user:"10001",token:"fake"})

Both socket.io-redis 6&7 have this problem.

About

debug socket.io/admin-ui crash


Languages

Language:JavaScript 90.5%Language:HTML 9.5%