Clients should not be allowed to leave or join "sid" rooms #10002

Closed
opened 2026-08-29 10:13:07 +00:00 by miguel · 0 comments
Owner

When a client connects to the server, it is put in a room that is specifically created for the client, and named with the connection's assigned sid. While these rooms are special, the server treats them as regular rooms, allowing users to leave or join these rooms as if they were custom rooms. To prevent problems, it would be best to consider these "sid" rooms read-only.

Reference: https://github.com/miguelgrinberg/Flask-SocketIO/issues/1283
Related: https://github.com/miguelgrinberg/python-socketio/issues/1447

When a client connects to the server, it is put in a room that is specifically created for the client, and named with the connection's assigned `sid`. While these rooms are special, the server treats them as regular rooms, allowing users to leave or join these rooms as if they were custom rooms. To prevent problems, it would be best to consider these "sid" rooms read-only. Reference: https://github.com/miguelgrinberg/Flask-SocketIO/issues/1283 Related: https://github.com/miguelgrinberg/python-socketio/issues/1447
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miguelgrinberg/python-socketio#10002
No description provided.