Making `preserve_header_order` option official
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 src/client/conn/http1.rs 的第 473-476 行附近开始,追踪 preserve_header_order 当前是如何被限制在 ffi 后面的。确定将其正式化的阻碍,然后验证该选项无需 ffi 即可使用,并且在代理用例中保留响应头的顺序。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
Our use case of Hyper is using it as a proxy server. One of the difference from proxy test we found is the order of the headers in the response. The order of the headers may be different in some cases, and we are seeing diff when comparing w/ and w/o Hyper in front of the existing server.
Describe the solution you'd like
Making preserve_header_order to official as it is now ffi.
https://github.com/hyperium/hyper/blob/master/src/client/conn/http1.rs#L473-L476
Describe alternatives you've considered
Use preserve_header_order with ffi enabled.
However, I'd like to understand if there is any blocking issue to make the feature to official.
If there is any, I can also help.
Additional context
Add any other context or screenshots about the feature request here.
- 主要语言
- Rust
- 星标
- 16.4k
- 派生
- 1.8k
- 平均合并
- 5 天 17 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperium/hyper 的其他 Issue
-
C-feature
难度 1/5 1 小时以内 新手友好度 65/100
hyperium/hyper#2652 · 4 个 reaction ·
维护者通常 2 天内回复
-
Write a HIP for `Body::poll_progress()`可能已有人在做 @cratelyn 于 4 天前认领。 未关闭A-body B-rfc C-feature
hyperium/hyper#4228 · 已指派 1 人 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 74/100
维护者通常 2 天内回复
-
Upgraded HTTP/2 CONNECT streams cannot be reset, so a failed tunnel looks like a clean close可能已有人在做 @jeremyjpj0916 于 13 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 55/100
维护者通常 2 天内回复
-
Allow connection pools to stop reusing an HTTP/2 connection before its keep-alive timeout可能已有人在做 @jiahaoliang 于 32 天前认领。 未关闭C-feature
难度 5/5 一周以上 新手友好度 35/100
维护者通常 2 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 63/100
metasequoiaime/msime#7328 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
eclipse-opensovd/classic-diagnostic-adapter#616 ·
维护者通常 2 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 86/100
维护者通常 1 天内回复
-
track: content
难度 2/5 1-3 小时 新手友好度 72/100
0xAndersen/witness-log#10 ·
-
follow-up main-defect wave-A
难度 2/5 1-3 小时 新手友好度 72/100
carrick-sh/carrick#249 ·
维护者通常 1 天内回复