加固添加设备逻辑。加固iproxy逻辑,加固flask

This commit is contained in:
2025-11-05 21:04:04 +08:00
parent 01580e2fb1
commit 36a57b2015
9 changed files with 133 additions and 49 deletions

View File

@@ -188,7 +188,7 @@ def start_socket_listener():
backoff = min(backoff * 2, 8.0)
continue
s.listen()
s.listen(256)
try:
s.settimeout(1.5) # accept 超时,便于检查自愈循环
except Exception: