mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-11 20:18:30 +08:00
将 endpoint.timeout 从 httpx 的 read 超时改为 asyncio.wait_for 控制, 更精确地管理"建立连接 + 获取首字节"阶段的整体超时。 主要改动: - HTTP 超时配置改用全局 config 参数 - endpoint.timeout 作为 asyncio.wait_for 的整体超时 - 增加 asyncio.TimeoutError 处理和连接清理逻辑 - 增加防御性空值检查