Detect a dead socket and reconnect before the grace period ends
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- lua
- 领域
- networking
调研方向
Start by locating the client socket read and reconnect handling; the issue does not name files or tests. Trace how incoming messages and the grace-forfeit period are handled, then check what test or local multiplayer setup exercises a silent socket. Done means the client detects silence, pings, and reconnects when no response arrives before the grace period ends.
由索引模型根据 Issue 内容生成。
描述
The client has no read timeout and sends no ping of its own. So when the socket went silent, the client waits until the grace forfeit has already happened.
I propose: When nothing arrives for 10 to 30 seconds, send a ping. If there is no response then reconnect.
- 主要语言
- Lua
- 星标
- 10
- 派生
- 8
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 20
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Balatro-Multiplayer/BalatroMultiplayerAPI 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 63/100
Balatro-Multiplayer/BalatroMultiplayerAPI#55 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
Balatro-Multiplayer/BalatroMultiplayerAPI#59 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 57/100
Balatro-Multiplayer/BalatroMultiplayerAPI#58 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
Balatro-Multiplayer/BalatroMultiplayerAPI#57 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 52/100
Balatro-Multiplayer/BalatroMultiplayerAPI#56 ·
维护者通常 2 天内回复
查看 Balatro-Multiplayer/BalatroMultiplayerAPI 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
nvim-tree/nvim-tree.lua#3383 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
Balatro-Multiplayer/BalatroMultiplayerPvP#620 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 62/100
silverbulletmd/silverbullet#2231 ·
维护者通常 2 天内回复