mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
- Bind netplay sockets to their login session, keying the socket set per channel so revoking a session closes sockets on both servers. - Read the room password from the top-level field EmulatorJS sends, and compare it in constant time. - Namespace Socket.IO room names so a room id cannot collide with a sid. - Refuse a duplicate player id on join, and leave the current room before opening or joining another. - Coerce client-supplied maxPlayers and names, and store the resolved ROM id. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>