[edge] Fetch: accept up to 1000 informational heads (Go has no count limit); KD-10 beyond
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user