[edge] Share fixes: per-network password limit and no eviction, revocation epoch never goes down, stray share tokens stripped on every host, admin socket bound in a private directory
This commit is contained in:
@@ -138,7 +138,9 @@ impl ProxyHttp for EdgeProxy {
|
||||
ctx.host = Some(host.clone());
|
||||
|
||||
let mut shared_access = false;
|
||||
if host.cfg.share_links {
|
||||
if !host.cfg.share_links {
|
||||
share::strip_any_token(session)?;
|
||||
} else {
|
||||
let ip = client_ip(session);
|
||||
let revs = self.shared.revocations();
|
||||
match share::handle(
|
||||
|
||||
Reference in New Issue
Block a user