GitHub 提交日报 · 2026-03-24

自动汇总 2026-03-24 当天 hummingg 在 GitHub 上的提交。

hummingg/ai-coding

  • feat(balancer_body): 使用命名location @retry并支持流式响应
    • 主要改进:
    • 将 /retry 改为命名 location @retry,提升安全性(不可被外部访问)
    • 使用 goto 语法重构重试逻辑,代码更简洁清晰
    • 支持流式响应传输:当响应体 >64KB 或无 Content-Length 时自动启用
    • 使用 httpc:connect + httpc:request 替代 request_uri,支持逐块读取
    • 通过 ngx.flush(true) 实现响应数据的即时转发
    • Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com