Skip to content

Allow `abort` after `req.finished`

Choose a tag to compare

@blakeembrey blakeembrey released this 22 May 04:10
· 69 commits to master since this release

Fixed

  • Previously impossible to abort response part-way because abort() blocked when req.finished = true
  • The abort event will only trigger once from now on

Added

  • Add new req.closed to indicate the current request/response stream has closed