Feature Request: body/2 error when body exceeds MaxLength
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 hackney body/2 入口开始,追踪 oversized response 的 MaxLength 处理方式。检查现有行为是否能够区分被截断的 body 和格式错误的 response,并在定义完成标准之前明确变更应属于 hackney 还是 HTTPoison。
由索引模型根据 Issue 内容生成。
描述
Currently, when you process a request that exceeds MaxLength, the incomplete result silently returns.
This is not always that helpful, because an impartial result might not be parseable. Since no error gets returned by hackney, its not possible to distinguish between malformed responses and excessively large responses that have been cropped.
I am using hackney through HTTPoison, and would like to support this behaviour.
Would this use-case fit hackney, or am i better off submitting a PR downstream in HTTPoison?
- 主要语言
- Erlang
- 星标
- 1.4k
- 派生
- 458
- 平均合并
- 11 小时 32 分钟
- 30 天内合并 PR
- 47
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
benoitc/hackney 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 58/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
volcano-sh/volcano#6322 ·
维护者通常 1 天内回复
-
claude
难度 2/5 1-3 小时 新手友好度 74/100
sprain/sprainocchio#38 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
peach-mitao/peach#693 ·
维护者通常 1 天内回复