[edge] Listeners, tests first: an overall header deadline (slowloris), pipelined requests answered in order on both listeners, a proxy socket whose X-Forwarded-For is believed (red: the deadline is a pass-through)

This commit is contained in:
2026-11-10 20:43:50 +01:00
parent 0e9c2a7bc9
commit 7a2aee20eb
7 changed files with 722 additions and 14 deletions
+6
View File
@@ -162,6 +162,12 @@ impl ProxyHttp for EdgeProxy {
}
}
async fn early_request_filter(&self, session: &mut Session, _ctx: &mut Ctx) -> Result<()> {
// The header is in: the header deadline (slowloris) no longer applies.
crate::deadline::header_read();
Ok(())
}
async fn request_filter(&self, session: &mut Session, ctx: &mut Ctx) -> Result<bool> {
let rt = self.shared.current();
ctx.rt = Some(rt.clone());