node/lib/internal/http2
Darshan Sen 751203d36b
http2: set Http2Stream#sentHeaders for raw headers
When https://github.com/nodejs/node/pull/57917 added support for sending
raw header arrays, Http2Stream#sentHeaders was set only for header
objects. This change also sets it for raw headers by lazily
instantiating the property to avoid any performance impact on the fast
path.

Signed-off-by: Darshan Sen <raisinten@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/59244
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2025-07-29 14:44:52 +00:00
..
compat.js http2: skip writeHead if stream is closed 2025-04-04 15:07:09 +00:00
core.js http2: set Http2Stream#sentHeaders for raw headers 2025-07-29 14:44:52 +00:00
util.js http2: set Http2Stream#sentHeaders for raw headers 2025-07-29 14:44:52 +00:00