tokio-boring: Can't get Error(Stack) out of HandshakeError
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先定位 tokio_boring::HandshakeError 的实现,以及它如何封装 boring::ssl::HandshakeError。跟踪现有的 code()、as_io_error() 和 display 访问器,然后确定如何在不丢失 stream 类型的情况下同时暴露 ErrorStack 和 ssl::Error。完成的标准是调用方能够检查底层的 setup 或 handshake 错误,同时保持当前行为不变。
由索引模型根据 Issue 内容生成。
描述
A tokio_boring::HandshakeError wraps a boring::ssl::HandshakeError with a different stream type. However, the latter exposes either an ErrorStack (if the failure was in setup) or an ssl::Error (if the failure was actually during the handshake), while the former provides no way to get at either besides the code() and as_io_error() accessors (and stringification). This is frustrating for us (Signal), where we'd like to log errors but only if we can guarantee they don't have user data in them; as is, we can only log the code() when using a tokio handshake, which often omits the actual reason a handshake failed.
- 主要语言
- Rust
- 星标
- 527
- 派生
- 180
- 平均合并
- 15 小时 34 分钟
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudflare/boring 的其他 Issue
-
cargo builds can corrupt consumer git repos due to env vars可能已有人在做 @RaphaelFakhri 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
cloudflare/boring#527 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
cloudflare/boring#526 ·
维护者通常 1 天内回复
-
SLH-DSA support可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 45/100
cloudflare/boring#522 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
cloudflare/boring#517 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
cloudflare/boring#500 · 2 条评论 ·
维护者通常 1 天内回复
查看 cloudflare/boring 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
farion1231/cc-switch#8829 ·
维护者通常 1 天内回复
-
bug ci good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
longbridge/gpui-kit#3677 ·
维护者通常 1 天内回复
-
E-pr-welcome
难度 2/5 1-3 小时 新手友好度 77/100
seanmonstar/reqwest#3121 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
ilya-zlobintsev/LACT#1235 ·
维护者通常 1 天内回复