Integrate pinned libcurl, libtorrent and static OpenSSL dependencies with license notices. Enable verified HTTPS trackers and authenticated HTTP/SOCKS5 proxies, add tracker TXT import without arbitrary list caps, and allow resizing the main window. Organize client sources by responsibility and update Visual Studio projects, filters and tests. Debug and Release builds passed, along with UI, HTTP, tracker import and browser bridge regressions. Full protocol tests have an unresolved intermittent HTTPS tracker wait timeout; Windows 7 runtime validation remains outstanding.
客户端源码结构
src/main.cpp 为程序入口,stdafx.* 为预编译头;头文件以 src 为包含路径根,跨模块引用使用目录前缀。
| 目录 | 职责 |
|---|---|
| app | 启动参数、单实例启动请求 |
| ui | 下载器业务窗口和页面;通用控件仍在 ui/ttui/ |
| engine | 任务调度、链接识别、磁力后端 |
| transport | HTTP/HTTPS、FTP/FTPS 传输接口与实现 |
| storage | TaskStore 与任务持久化 |
| settings | 外观、代理、Tracker 配置及 TXT 导入 |
| integration | 浏览器桥接、外部下载请求、文件拖放 |
| platform | Windows 平台辅助函数 |
tests/ 存放客户端回归测试。Visual Studio 工程及筛选器按相同目录组织。