0.34.6_repo_cleanup

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-22 09:31:15 +02:00
1 parent ce1a90397c
commit 133d2f0f91
273 files changed
+5969 -6926

No files matched your search

-4
View File
@@ -1,5 +1,3 @@
/// Socket formatting shared by all HTTP/1 requests on one accepted socket.
/// No routing or trust decision is cached: those follow the current snapshot.
#[derive(Debug)]
pub(crate) struct PeerFormatting {
peer: SocketAddr,
@@ -9,14 +7,12 @@ pub(crate) struct PeerFormatting {
peer_node: String,
by_node: String,
port_header: HeaderValue,
// One-entry, per-accepted-socket cache. No policy or client identity is cached.
untrusted_headers: std::sync::Mutex<Option<UntrustedHeaders>>,
}
#[derive(Debug)]
struct UntrustedHeaders {
authority: HeaderValue,
tls: bool,
// The URI is intentionally excluded: it can change on every request.
base: HeaderMap,
}
impl PeerFormatting {