Ensure that the file handle is closed if header validation fails in respondWithFile. This prevents ERR_INVALID_STATE errors where a FileHandle object is closed during garbage collection. PR-URL: https://github.com/nodejs/node/pull/61707 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com> |
||
|---|---|---|
| .. | ||
| compat.js | ||
| core.js | ||
| util.js | ||