[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:
2026-11-07 18:44:55 +01:00
parent fee35830d1
commit 98dad246d3
6 changed files with 151 additions and 33 deletions
+3 -1
View File
@@ -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(