Commit graph

20 commits

Author SHA1 Message Date
xxu
68e298fe27 fix: restrict WebSocket message routing to prevent non-host room disruption
Non-host players could broadcast arbitrary messages (e.g. empty gamestate)
to all other players via the server's default and direct message handlers,
effectively allowing them to dissolve the room. Apply the same host-check
pattern already used for ping messages to both handlers, ensuring
player messages only reach the host and never other players.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:38:45 +09:00
Steffen
350d2a5a18
fixed local server (closes #240) 2022-01-25 12:25:48 +01:00
Steffen
4d33e7dda9 optimized ping and gamestate messages 2021-01-29 21:54:27 +01:00
Steffen
12023ce80c argh 2020-12-28 20:22:48 +01:00
Steffen
e87e288918 fix channel metrics 2020-12-28 20:18:45 +01:00
Steffen
7cc59b05cf fix metrics 2020-12-28 16:27:16 +01:00
Steffen
d9b83a9312 added detailed channel metrics 2020-12-28 16:15:38 +01:00
Steffen
0090b33e94 server / sesison fixes 2020-12-24 15:38:28 +01:00
Steffen
e2d7fa64f2 added more metrics 2020-12-23 20:49:52 +01:00
Steffen
3a5a8bfc9a update server response 2020-12-22 22:26:04 +01:00
Steffen
003af739e7 fix live sessions 2020-12-22 12:53:39 +01:00
Steffen
297181ebe8 added changelog and updated socket endpoint 2020-12-21 21:26:36 +01:00
Steffen
f7eef3f8ea add player role distribution through live session for ST 2020-12-15 22:31:50 +01:00
Steffen
812d7d8c04 add rate limit to server 2020-12-12 21:33:38 +01:00
Steffen
805e16ad63 added stats to server and simple channel -> client map 2020-11-29 21:34:05 +01:00
Steffen
0b5d9c5865 moved latency calculation server-side
made host per channel exclusive
added auto-reconnection
2020-09-21 11:24:36 +02:00
Steffen
ef42239d2c
added another domain to server whitelist 2020-07-19 20:40:40 +02:00
Steffen
087f504a83
added socket timeout 2020-06-04 21:44:25 +02:00
Steffen
6dd797aa6d
improved session handling 2020-05-30 22:01:42 +02:00
Steffen
8a43c1e3e3
added custom socket server 2020-05-27 22:33:51 +02:00