fix: add pong/timeout detection to prevent silent connection hangs #35

Merged
jimmy merged 1 commits from dev into main 2026-03-11 23:58:36 +08:00

1 Commits

Author SHA1 Message Date
Gan, Jimmy e0f432bc39 fix: add pong/timeout detection to prevent silent connection hangs
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m2s
- Backend now responds to __ping__ with __pong__
- Frontend detects missing pong within 5s and closes connection
- This triggers proper reconnect/auth recovery instead of hanging
- Fixes 'keepalive ping timeout' issue where connection appears alive but is dead
2026-03-11 23:55:51 +08:00