socket.io
socket.io copied to clipboard
fix: track socket before run middlewares
The kind of change this PR does introduce
- [x] a bug fix
- [ ] a new feature
- [ ] an update to the documentation
- [ ] a code change that improves performance
- [ ] other
Current behavior
the socket is not tracked when run the middlewares
New behavior
track socket before run middlewares
Other information (e.g. related issues)
fix: https://github.com/socketio/socket.io/issues/5139