v0.34.3
This commit is contained in:
1 parent
8c0de520d7
commit
8f41b39c26
32 files changed
+934
-128
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user