- 将 config.c 和 proxy.c 中的 strncpy 替换为 memcpy + 显式 null 结尾, 消除 GCC -Wstringop-truncation 警告 - 修复 integration_test.sh 的 kill_server 函数,补充对 -c 配置方式启动的 服务器进程的清理,避免端口占用导致后续测试失败 编译零警告,142 个单元测试 + 80 项集成测试全部通过
- 将 config.c 和 proxy.c 中的 strncpy 替换为 memcpy + 显式 null 结尾, 消除 GCC -Wstringop-truncation 警告 - 修复 integration_test.sh 的 kill_server 函数,补充对 -c 配置方式启动的 服务器进程的清理,避免端口占用导致后续测试失败 编译零警告,142 个单元测试 + 80 项集成测试全部通过