Send a socket id different from the engine socket id for each namespace #117
Labels
refactoring
This reference a need for a refactoring
socketio-v5
It is only about the version 5 of the socket.io protocol
vulnerability
This reference a vulnerability found on socketioxide or engineioxide
Currently the socket id that reference a socket.io socket (one for each namespace) is the same than the engine socket id.
The implementation should match the socket.io server in node which create a new socket id for each new socket connected to a namespace (only for the socket.io v5 protocol) :
https://github.com/socketio/socket.io/blob/9a2a83fdd42faa840d4f11fd223349e5d8e4d52c/lib/socket.ts#L277
The text was updated successfully, but these errors were encountered: