How to do an early stop?
还没有人认领这个 Issue。
评估
调研方向
首先审查拟议的 uvicorn PR #1683,重点关注 issue 中提到的 too_many_headers 属性和 on_header 回调。确定 HttpParserCallbackError 是否应公开 callback 异常中的更多信息,以及拟议的提前停止行为是否符合预期;完成这项工作需要就实现方向达成一致。
由索引模型根据 Issue 内容生成。
描述
Hi there 👋
I'm trying to implement a flag --limit-request-header-count on uvicorn, which I implemented changing the value of an attribute too_many_headers and raising an exception from on_header callback, see https://github.com/encode/uvicorn/pull/1683/files.
My question is: is my implementation as intended? Should the HttpParserCallbackError send more information when an exception happens from one of the callbacks?
- 主要语言
- Python
- 星标
- 1.3k
- 派生
- 107
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MagicStack/httptools 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
MagicStack/httptools#136 ·
-
难度 3/5 1-2 天 新手友好度 68/100
MagicStack/httptools#140 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
MagicStack/httptools#127 · 2 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 48/100
MagicStack/httptools#126 ·
-
难度 4/5 3-5 天 新手友好度 30/100
MagicStack/httptools#125 ·
查看 MagicStack/httptools 的全部 Issue
相似的 Issue
-
essnmx good first issue
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 65/100
syfoud/Simulated_Scepter#174 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Giskard-AI/giskard-oss#2840 · 1 条评论 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success 未关闭area: repo bug perceived difficulty: 2
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
yeti-platform/yeti#1380 ·