Skip to content

v1.2.6

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Mar 15:53
· 0 commits to master since this release

Changelog

  • [fix] 彻底修复生产环境 panic: send on closed channel 崩溃,使用 ctx 作为统一关闭信号,所有 channel 发送均通过
    select + ctx.Done() 保护
  • [fix] 修复 addAddition default 分支 wg 泄漏,移除 async goroutine 改为同步阻塞发送
  • [fix] 修复 BrutePool.Close()analyzeDone 条件写反导致忙等永不执行,替换为 handlerDone chan 机制
  • [fix] 修复 processCh 从未关闭导致 Handler goroutine 永久泄漏,Close() 中正确关闭并等待 Handler 退出
  • [fix] 修复 OutputCh/FuzzyCh/checkCh 裸发送在关闭时可能永久阻塞的问题
  • [fix] 修复 doCrawl 孤儿 wg.Add(1) 无对应 wg.Done() 导致 wg 计数泄漏
  • [fix] 修复 baseline.NewBaseline 中 raw response 重解析失败导致 baseline 被错误标记为无效的问题,Location 改从 live
    response 读取
  • [ci] 新增 GitHub Actions CI,PR 时自动运行 go build + go test -race,覆盖 ubuntu 与 windows
  • [test] 新增 19 个 pool 关闭回归测试,覆盖死锁、goroutine 泄漏、wg 不平衡、并发关闭等场景

Full Changelog: v1.2.5...v1.2.6