Decide whether tlsHandshakeTimeoutMs should cover the ClientHello peek
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- networking
调研方向
Read the timeout handling in src/sni.rs, src/proxy_conn.rs, and src/failover.rs, along with the README’s description of tlsHandshakeTimeoutMs. Decide whether the setting covers only the TLS handshake or total connection setup; then either document that meaning or carry an accept-time deadline through the three paths, accounting for the ClientHello peek. Done means the timeout behavior and its documented meaning agree.
由索引模型根据 Issue 内容生成。
描述
tlsHandshakeTimeoutMs starts counting after the ClientHello peek, so a client's total wait from accept can exceed it by up to the peek's own 5 s limit.
Every user of the timeout starts from the same point, after sni::peek (REASSEMBLY_TIMEOUT in src/sni.rs):
- the TLS handshake:
timeout(hs_timeout, tls_accept(..))insrc/proxy_conn.rs - peer forwarding:
forward_to_peersinsrc/failover.rs - the passthrough local connect plus peer forward from Forward a connection to a peer when its local upstream connect fails (#79)
Nothing is wrong if the setting means "time for the handshake". If an operator reads it as a cap on total connection setup, it is not one. Decide which it means. Then either state it in the README, or start one deadline at accept and deduct the peek time in all three places.
Review-Deferral: 13616fe4f6c36296 severity=nit category=reliability
🤖 Generated by Claude Opus; posted via @kriszyp.
- 主要语言
- Rust
- 星标
- 1
- 派生
- 0
- 平均合并
- 19 小时 12 分钟
- 30 天内合并 PR
- 13
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HarperFast/symphony 的其他 Issue
-
Don't route to a restarted upstream until it serves, not just accepts可能已有人在做 @kriszyp 于 5 天前认领。 未关闭
HarperFast/symphony#84 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Forward to a peer when the local upstream connect fails on a TLS-terminating failover route可能已有人在做 @kriszyp 于 5 天前认领。 未关闭
HarperFast/symphony#83 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Forward a connection to a peer when its local upstream connect fails可能已有人在做 @kriszyp 于 6 天前认领。 未关闭
HarperFast/symphony#79 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
HarperFast/symphony#77 ·
维护者通常 1 天内回复
-
Spill a share of new connections to a less-loaded peer when local Harper threads are busy可能已有人在做 @kriszyp 于 12 天前认领。 未关闭
HarperFast/symphony#73 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 HarperFast/symphony 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
antiguru/interrexx#213 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug CLI
难度 2/5 1-3 小时 新手友好度 77/100
HigherOrderCO/Bend#2120 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
KNXBench-Labs/KNXBench#47 ·