[edge] Fetch: accept up to 1000 informational heads (Go has no count limit); KD-10 beyond

This commit is contained in:
2026-11-07 16:41:41 +01:00
parent 8c04b0f4bd
commit 27b0a165b2
3 changed files with 37 additions and 3 deletions
+24
View File
@@ -505,6 +505,21 @@ pub fn corpus() -> Vec<Case> {
a,
Req::get(a, "/").header("cookie", &session("continue-ok")),
),
https(
"auth answers 9 informational heads first",
a,
Req::get(a, "/").header("cookie", &session("continue-x9")),
),
https(
"auth answers 1000 informational heads first",
a,
Req::get(a, "/").header("cookie", &session("continue-x1000")),
),
https(
"auth answers 1001 informational heads first",
a,
Req::get(a, "/").header("cookie", &session("continue-x1001")),
),
https(
"auth answers 2xx with a 5 MB body",
a,
@@ -734,6 +749,15 @@ pub const KNOWN_DIVERGENCES: &[Divergence] = &[
},
reason: "as KD-8, on the plain-HTTP listener",
},
Divergence {
id: "KD-10",
rule: Rule::Status {
case: "auth answers 1001 informational heads first",
ianitor: 502,
caddy: 200,
},
reason: "edge fails closed after 1000 informational heads from the auth server; Go limits only their total header bytes",
},
];
impl Outcome {