This commit is contained in:
Mateusz Gruszczyński committed 2026-10-20 11:19:55 +02:00
1 parent 8c0de520d7
commit 8f41b39c26
32 files changed
+934 -128

No files matched your search

+8 -5
View File
@@ -291,11 +291,14 @@ fn finish_headers(
HeaderValue::from_static("private, no-store"),
);
}
if frontend.is_some_and(|frontend| !frontend.http3_enabled) {
response.headers_mut().remove("alt-svc");
} else {
crate::http3::advertise(response.headers_mut(), local, tls, active);
}
crate::http3::advertise(
response.headers_mut(),
local,
tls,
active,
&snapshot.listeners,
!frontend.is_some_and(|frontend| !frontend.http3_enabled),
);
}
fn apply_timing_headers(
response: &mut Response,