v0.34.0_4
This commit is contained in:
1 parent
f20c8da718
commit
5910e6e901
21 files changed
+377
-51
No files matched your search
@@ -172,9 +172,9 @@ fn response_context(
|
||||
let authority = effective_host(request, tls).ok()?;
|
||||
let host = request_host(authority.to_str().ok()?).ok()?;
|
||||
let frontend = snapshot.frontend(&host, local, tls).cloned();
|
||||
let route = crate::acl::routing_path(request.uri().path())
|
||||
let route = crate::acl::routing_path_view(request.uri().path())
|
||||
.ok()
|
||||
.and_then(|path| snapshot.select_on_arc(&host, &path, local, tls).cloned());
|
||||
.and_then(|path| snapshot.select_on_arc(&host, path.as_ref(), local, tls).cloned());
|
||||
Some((frontend, route))
|
||||
})();
|
||||
context.unwrap_or((None, None))
|
||||
|
||||
Reference in new issue
Block a user