Rogee
cd82d079e3
fix(ws): 发送 WebSocket 协议级 Ping 控制帧防止 60s 后连接断开
writePump 只发 ActionCable 文本 JSON ping,从不发 websocket.PingMessage,
导致 readPump 的 PongHandler 永远不触发,ReadDeadline(60s) 到期后连接
被强制关闭。前端每 60 秒弹出"离线""重连"通知。
修复:在 ticker 中先发 PingMessage 控制帧(浏览器自动回 Pong 重置
ReadDeadline),再发 ActionCable 文本 ping(保活 ConnectionMonitor)。
同时包含此前会话中的其他变更:
- 移除安全设置(SAML)页面及路由
- 新增超级管理员控制台前端页面
- platform agent_bots 路由使用 Platform* handler
- 超级管理员入口改为 SPA 内路由跳转
2026-07-30 16:55:44 +08:00
..
2026-07-30 16:55:44 +08:00
2026-07-07 14:56:01 +08:00
2026-07-30 09:09:17 +08:00
2026-07-30 16:55:44 +08:00
2026-07-12 22:19:51 +08:00
2026-07-07 15:37:24 +08:00
2026-07-07 14:56:01 +08:00
2026-07-30 11:29:43 +08:00
2026-07-30 16:55:44 +08:00
2026-07-07 14:56:01 +08:00
2026-07-07 14:56:01 +08:00
2026-07-30 16:55:44 +08:00
2026-07-07 14:56:01 +08:00
2026-07-30 16:55:44 +08:00
2026-07-07 14:56:01 +08:00
2026-07-07 14:56:01 +08:00
2026-07-29 19:03:04 +08:00