From 158c2a894e6529db197403e882386e2e6fe0ce8e Mon Sep 17 00:00:00 2001 From: xfy911 Date: Thu, 4 Jun 2026 16:17:53 +0800 Subject: [PATCH] =?UTF-8?q?docs(plan):=20HTTP/2=20=E5=8E=8B=E7=BC=A9?= =?UTF-8?q?=E5=B7=B2=E5=AE=8C=E6=88=90=EF=BC=8C=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 --- .cocoon-plan.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cocoon-plan.md b/.cocoon-plan.md index 07d8f9d..cbf31c5 100644 --- a/.cocoon-plan.md +++ b/.cocoon-plan.md @@ -59,6 +59,7 @@ - HEAD 请求正确处理(无 body) - 目录自动 fallback 到 index.html - 路径遍历防护(.. 检查) + - gzip/brotli 压缩支持(HTTP/2 响应中优先 brotli) - 文件内容通过 nghttp2_data_provider 流式传输 - 修复 send_callback 返回值 bug(send_all 返回 0 而非已发送字节数) - 修复 :path 伪头长度解析 bug(4→5)和路径空终止问题 @@ -69,8 +70,7 @@ 2. **[中] Windows 兼容性** — 平台抽象层(platform.h / platform.c),sendfile 替代方案,io_uring 替代方案 3. **[中] Doxygen 中文注释** — 所有模块的公共 API 需要完整文档(http2.c 已部分完成) 4. **[低] 检查远程更新内容** — 上游有 new commits,需 review 9041d8d -5. **[低] HTTP/2 动态压缩** — 在 HTTP/2 响应中支持 gzip/brotli 压缩(当前未启用) -6. **[低] HTTP/2 目录浏览** — 目前返回 404,可考虑支持目录列表 +4. **[低] HTTP/2 目录浏览** — 目前返回 404,可考虑支持目录列表 ## 最近行动记录