expressjs / expressjs/serve-static
FR: Ability to always call next()
Open
awaiting more info
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
This was brought up in https://github.com/expressjs/serve-static/issues/68#issuecomment-231559148 but I was wondering if this could be revisited. We may want to have logging/other tasks done per request but not block on sending a response. I also found that res.on("finish") doesn't fire if a client disconnects mid-request.
Something like the fallthrough option that fires next() on the "end" event of the underlying stream.
Contributor guide
Assessment
This issue has not been assessed yet.