node/lib/internal/http2
sangwook 2fdb5ce6cc
http2: fix FileHandle leak in respondWithFile
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>
2026-05-11 15:49:59 +02:00
..
compat.js http2: skip writeHead if stream is closed 2025-05-19 12:13:51 +02:00
core.js http2: fix FileHandle leak in respondWithFile 2026-05-11 15:49:59 +02:00
util.js http2: rename variable to additionalPseudoHeaders 2026-02-17 19:16:42 +01:00