From c036615d5866d20c5d1dbc19a08cd1b29e2c41bd Mon Sep 17 00:00:00 2001 From: xfy911 Date: Thu, 4 Jun 2026 00:29:31 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20test=5Fserver=20?= =?UTF-8?q?=E5=88=B0=20gitignore=20+=20=E6=9B=B4=E6=96=B0=E5=BE=85?= =?UTF-8?q?=E5=8A=9E=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .gitignore: 补充 tests/unit/test_server,避免误提交编译产物 - .cocoon-plan.md: 新增 signal handler cleanup bug 和中文注释完善到待办池 --- .cocoon-plan.md | 3 +++ .gitignore | 1 + 2 files changed, 4 insertions(+) diff --git a/.cocoon-plan.md b/.cocoon-plan.md index b46bb28..8b054cc 100644 --- a/.cocoon-plan.md +++ b/.cocoon-plan.md @@ -57,6 +57,9 @@ 3. **server.c 单元测试** — 需要 mock socket 和 coco 协程环境 4. **性能优化** — io_uring 性能调优、连接池优化 5. **HTTPS / TLS** — 添加 SSL 支持 +6. **Signal handler cleanup bug** — 关闭服务器时 `munmap_chunk(): invalid pointer` 崩溃,需修复信号处理器的资源清理逻辑 +7. **完善中文注释** — 所有模块的 Doxygen 风格注释补充完整 +8. **单元测试二进制文件添加 gitignore** — 确保 tests/unit/test_* 不会被误提交 ## 最近行动记录 diff --git a/.gitignore b/.gitignore index c213028..0a37e75 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ tests/unit/test_http tests/unit/test_log tests/unit/test_multipart tests/unit/test_static +tests/unit/test_server tests/fixtures/uploads/