anonstream/anonstream/routes
n9k 4eaf9b56f7 Try to ensure websocket is closed when forgetting about it
Might not be necessary, but if it is then it prevents a sitation where a
websocket is still open but we've forgotten about it, so we will never
broadcast any new messages to it and the client will be practically frozen in
time until they disconnect and open a new websocket.

Also update the user's last_seen when the websocket is closed. This prevents a
user with js enabled who's actually idle being considered absent and being
rotated when their websocket accidentally closes for a few seconds.
2022-03-10 07:47:57 +13:00
..
__init__.py Add licences 2022-03-08 16:41:47 +13:00
core.py Add licences 2022-03-08 16:41:47 +13:00
nojs.py Add licences 2022-03-08 16:41:47 +13:00
websocket.py Try to ensure websocket is closed when forgetting about it 2022-03-10 07:47:57 +13:00
wrappers.py Add licences 2022-03-08 16:41:47 +13:00