OwenGHB / angband-webclient

Browser client and webserver for playing Angband and variants
http://angband.live
GNU General Public License v2.0
18 stars 7 forks source link

Spectator socket timeouts #3

Closed OwenGHB closed 7 years ago

OwenGHB commented 7 years ago

Currently the server doesn't send any pings to open spectator sockets. This is because it would be awkward to keep track of any anonymous spectators - get aWss was causing crashes when I experimented with it, so I decided to keep track of open sockets to ping them. The obvious stopgap solution would be to keep track of registered users who are spectating a given game by adding a property to the match object.

OwenGHB commented 7 years ago

Fix is live and seems to have worked.