0.34.6_repo_cleanup
This commit is contained in:
1 parent
ce1a90397c
commit
133d2f0f91
273 files changed
+5969
-6926
No files matched your search
@@ -1,5 +1,3 @@
|
||||
// Observation has already validated routing identity. Transfer it to the
|
||||
// forward handler instead of repeating hostname parsing and percent decoding.
|
||||
#[derive(Clone)]
|
||||
struct ValidatedRoutingIdentity {
|
||||
original_host: HeaderValue,
|
||||
@@ -12,8 +10,6 @@ struct SelectedRouteContext {
|
||||
route: Option<Arc<crate::config::CompiledRoute>>,
|
||||
validated: Option<ValidatedRoutingIdentity>,
|
||||
}
|
||||
/// Transfer middleware-validated identity without cloning strings. Internal
|
||||
/// fallback dispatches still use the complete authority validation path.
|
||||
fn take_routing_identity(
|
||||
request: &mut Request,
|
||||
tls: bool,
|
||||
|
||||
Reference in new issue
Block a user