1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-18 20:45:58 +08:00
Files
AzurLaneAutoScript/module/smart_mgmt
positnuec 1041f44262 Fix: use Happy Eyeballs to enforce total connection timeout in DowntimeFetcher
DowntimeFetcher previously relied on urllib3's default connect path which is serial and unbounded: a stalled DNS or unreachable addresses could hold the fetch far beyond any useful timeout.

HTTPS now routes through an RFC 8305-inspired Happy Eyeballs adapter. It runs IPv6/IPv4 attempts in parallel with a stagger, fast-fails refused addresses, and enforces a single total deadline spanning the whole connect phase (DNS/TCP/TLS).

Connect timeouts are externalized; requests' own connect timeout is disabled, leaving only the read timeout in effect.
2026-08-16 17:06:49 +08:00
..