v1.3.4
兼容 DPI 版本:v1.0.7.0
升级下载代理支持(upgrader.py)
- 背景:systemd 启动的服务不继承 shell 的
http_proxy/https_proxy环境变量,内网代理环境下自动升级下载 GitHub Release 会直连失败。 - 新增:
/opt/socket/config支持proxy=http://host:port字段。所有 GitHub API 请求与二进制下载显式带上该代理。 - 失败重试:
_download_file直连失败后,若 config 配置了proxy=,自动用代理重试一次。 - 优先级:config
proxy=优先;未配置时回退环境变量(适用于手动socket_server upgrade等非 systemd 场景)。 - 更新
docs/build-and-deploy.md说明proxy配置项。
打包环境变更
改用 CentOS 7 (glibc 2.17) 容器编译 Python 3.8 shared lib 后打包,修复 Ubuntu 打包机 glibc 2.31 导致二进制在 CentOS 7.5 (glibc 2.17) 上 GLIBC_2.29 not found 启动崩溃的问题。新二进制最高仅需 GLIBC_2.14。