feat: add connectivity fix options + hardening

This commit is contained in:
fufsob committed 2026-09-29 03:14:24 +00:00
1 parent 364bed8d51
commit c8b9b3de46
41 files changed
+626 -111

No files matched your search

+1 -1
View File
@@ -382,7 +382,7 @@ _cutoff = {} # ts mtime -> status text: a probe rewrites ts
def _cutoff_status():
try:
mtime = os.path.getmtime(os.path.join(ctl._zapret_state_dir(), "cutoff", "ts"))
mtime = os.path.getmtime(os.path.join(ctl._zapret_cutoff_dir(), "ts"))
except OSError:
mtime = None
if mtime not in _cutoff: