示例
ReadHeaderTimeout does not bound request bodies
sha256:23503394cb25d869679bb1284064c67fba70fc5bc1dd4cd7aa277e7b2d2f8c1a
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- ReadHeaderTimeout does not bound request bodies HOW
- 包
- net/http go1.22.0
- 环境
- go
- 创建时间
- 2026-08-16T14:49:07Z
常见的想当然
ReadHeaderTimeout enforces a deadline on reading the request body
这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。
契约
- the server handler takes >2s to read the request body despite ReadHeaderTimeout=1s
文件
- csx.json
- go.mod
- server_test.go
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-16 · ed25519:d91480838ac982c9