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

+12 -2
View File
@@ -316,14 +316,24 @@ async fn observe(State(state): State<Arc<App>>, mut request: Request, next: Next
.get::<RedirectResponse>()
.is_some_and(|redirect| !redirect.http3_enabled)
{
response.headers_mut().remove("alt-svc");
crate::http3::withdraw_advertisement(
response.headers_mut(),
local,
transport_tls,
&state.active_listeners,
);
}
if response
.extensions()
.get::<LocalHostResponse>()
.is_some_and(|item| !item.http3_enabled)
{
response.headers_mut().remove("alt-svc");
crate::http3::withdraw_advertisement(
response.headers_mut(),
local,
transport_tls,
&state.active_listeners,
);
}
let global_compression = &snapshot.envelope.config.compression;
// All scoped policies have the global codec ceiling. With no accepted