[edge] Listeners: a request header must be complete within 60 s (--header-timeout), pipelined requests are answered in order, and --proxy-socket serves the front proxy on a 0660 Unix socket whose X-Forwarded-For is believed

This commit is contained in:
2026-11-10 20:46:28 +01:00
parent 7a2aee20eb
commit 39dd8f0f47
6 changed files with 82 additions and 22 deletions
+8 -2
View File
@@ -478,9 +478,15 @@ mod pipeline_tests {
assert_eq!((b.status, b.text().as_str()), (404, "abc"));
let (c, _) = parse_one(&rest[used2..], false, false).unwrap().unwrap();
assert_eq!(c.status, 308);
assert!(parse_one(b"HTTP/1.1 200 OK\r\ncontent-length: 5\r\n\r\nab", false, false)
assert!(
parse_one(
b"HTTP/1.1 200 OK\r\ncontent-length: 5\r\n\r\nab",
false,
false
)
.unwrap()
.is_none());
.is_none()
);
}
}