v0.34.0_1
This commit is contained in:
1 parent
9b3d6731cc
commit
00f29f92c8
68 files changed
+2599
-513
No files matched your search
@@ -159,7 +159,7 @@ fn response_context(
|
||||
request: &Request,
|
||||
) -> (
|
||||
Option<Arc<crate::config::CompiledFrontend>>,
|
||||
Option<crate::config::CompiledRoute>,
|
||||
Option<Arc<crate::config::CompiledRoute>>,
|
||||
) {
|
||||
let tls = request
|
||||
.extensions()
|
||||
@@ -174,7 +174,7 @@ fn response_context(
|
||||
let frontend = snapshot.frontend(&host, local, tls).cloned();
|
||||
let route = crate::acl::routing_path(request.uri().path())
|
||||
.ok()
|
||||
.and_then(|path| snapshot.select_on(&host, &path, local, tls).cloned());
|
||||
.and_then(|path| snapshot.select_on_arc(&host, &path, local, tls).cloned());
|
||||
Some((frontend, route))
|
||||
})();
|
||||
context.unwrap_or((None, None))
|
||||
|
||||
Reference in new issue
Block a user