mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-08 00:02:20 +03:00
Resolution queries JOINed proxy_registry without any status filter, so a proxy marked inactive/error/disabled (by an operator or a health check) kept being handed out — every request paid the dead-proxy timeout or leaked out the host IP. Add a conservative PROXY_ALIVE_PREDICATE (excludes only known-dead states; active/null/unknown stay usable) to both resolveProxyForConnectionFromRegistry (account/provider/global) and resolveProxyForScopeFromRegistry. Part of the codex anomaly-revocation hardening (the dead proxy pool was a factor in accounts being routed out a shared host IP). TDD: 4 tests.