Skip to content

v0.8.3

Choose a tag to compare

@systemime systemime released this 23 Mar 08:45
· 7 commits to main since this release

🚀 新功能

  • 两阶段数据库存储: 请求到达时立即写入数据库(pending状态),响应完成时更新记录(completed状态)
  • 流式响应改进: 同时检查请求中的 stream 参数和响应 Content-Type,更智能地判断是否使用流式处理
  • Flusher 接口支持: 修复 responseWriter 实现 http.Flusher 接口,确保流式响应正常工作
  • 异步数据库更新: 响应完成后异步更新数据库,不阻塞流式响应

🐛 修复

  • 修复 "不支持流式响应" 错误 (responseWriter 未实现 Flusher 接口)
  • 修复 "superfluous response.WriteHeader call" 警告
  • 修复数据库保存错误无日志的问题

📦 下载

平台 文件
Linux amd64 mask-ctl-linux-amd64
Linux arm64 mask-ctl-linux-arm64
macOS amd64 mask-ctl-darwin-amd64
macOS arm64 mask-ctl-darwin-arm64
Windows amd64 mask-ctl-windows-amd64.exe
Windows arm64 mask-ctl-windows-arm64.exe