Commit Graph

10 Commits

Author SHA1 Message Date
Marco 464956dd47 hack to fix crashes when a user connects to a game twice using the same browser 2024-06-27 21:30:29 +02:00
Marco fd2fb3fab6 change behavior of reading/writing from websockets 2024-05-21 23:41:37 +02:00
Marco 6f16a5c23b wip 2024-05-20 17:22:06 +02:00
Marco 636ce06836 Improve reconnection handling
1. Lobbies are only identified by their passphrases
2. Improve logging
3. Do not close an existing websocket connection for a player but ignore
   the request
2024-05-20 15:36:13 +02:00
Marco 90dca37d44 fix board state when reconnecting and set access headers 2024-05-15 19:45:35 +02:00
Marco 682ce8437b make games rejoinable 2024-05-15 14:28:14 +02:00
Marco 97ad45e505 Rate limit websocket connection 2024-05-12 15:42:40 +02:00
Marco fc088a04fe More work for introducing a new game handler, also: ratelimiter 2024-05-12 15:36:30 +02:00
Marco 58002a1b38 Groundwork for handler that allows reconnecting 2024-05-11 22:57:47 +02:00
Marco 65dc2ebd24 Replace old websocket library with the gorilla one 2024-05-11 12:03:24 +02:00