Extensibility framework
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- api, networking
调研方向
首先梳理 h2 中现有的 HTTP/2 状态机、帧解析、回调、设置以及错误代码处理。然后审查 hyperframe 中所需的相关工作,并确定扩展如何在不破坏现有行为的情况下添加帧、状态转换、设置、回调和错误代码。完成的标准是:定义好可扩展性设计,并在两个项目中完成配套实现。
由索引模型根据 Issue 内容生成。
描述
HTTP/2 is extendable: it's one of its great strengths. It would be really nice if H2 was relatively easily extensible. We should aim to start supporting pluggable HTTP/2 extensions.
What do we need to do this? Well, the answer is: what can extensions do?
- They can add new frames. This means we need to be able to add:
- new frame types that can be successfully parsed;
- new transitions in the state machine, both connection and stream, that occur when a new frame is received;
- specific frame callbacks, both connection and stream, that allow manipulating the connection and stream objects;
- allow new frames to follow the state machine transitions and callbacks of a pre-existing frame;
- They can add new state machine transitions in the absence of new frames, or adjust the existing state machine transitions;
- They can add new settings. We need to be able to inject useful representations of settings, and allow callbacks for those settings if they're changed;
- They can add new error codes.
This will also require work in hyperframe.
- 主要语言
- Python
- 星标
- 1k
- 派生
- 197
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-hyper/h2 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
python-hyper/h2#1330 ·
-
content-length is not policed when a stream ends with a trailers section可能已有人在做 @feiiiiii5 于 31 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 76/100
python-hyper/h2#1328 ·
-
难度 5/5 一周以上 新手友好度 35/100
python-hyper/h2#1312 ·
-
难度 4/5 3-5 天 新手友好度 35/100
python-hyper/h2#1280 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
python-hyper/h2#1239 · 3 个 reaction ·
相似的 Issue
-
lesson-submission pending-review
难度 2/5 1-3 小时 新手友好度 72/100
Ikalus1988/MisakaNet#3956 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
aws-samples/sample-per-model-bedrock#574 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
521xueweihan/HelloGitHub#4133 ·
-
plot_components fails for logistic models with minmax scaling and no floor可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 4 天内回复
-
Update migen未关闭
难度 2/5 1-3 小时 新手友好度 70/100
YosysHQ/oss-cad-suite-build#220 ·