aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/sender
AgeCommit message (Collapse)Author
5 daysRemove CH-sending timerOsmium Sorcerer
CH is an application-level keepalive packet that clients periodically send for two reasons: 1. It tells the server they're still connected, preventing timeouts. 2. By measuring latency between sending CH and receiving CHECK, a client can display ping. Keepalive is redundant because WebSocket can handle that via PING frames on a transport layer. WebAO also completely ignores CHECK and sends CH every five seconds, which is superfluous (AO2 Client sends it once every 45 seconds, in comparison). Sending CH via `setInterval` was also problematic: browsers seem to throttle it when the tab becomes inactive, preventing periodic pings and leading to the server disconnecting inactive browser clients.
2024-12-12akashi expects 2 args for modcallsstonedDiscord
2024-11-20Prettified Code!stonedDiscord
2024-08-07add ban buttonstonedDiscord
2023-09-20autoformat with eslintstonedDiscord
2023-09-20unused sendMusic.tsstonedDiscord
2022-11-11more console spamstonedDiscord
2022-10-22Update sendServer.tsstonedDiscord
2022-09-09Migrated functionsCaleb
2022-09-08I'm so sorryCaleb
2022-09-08Add Sender supportCaleb