$ the-wire · showcase
Deferred RST_STREAM fix, undici stops reusing stale idle sockets
By RepoJournal · Filed · About Node.js · Composed from the cited sources · methodology
Two memory- and correctness-level HTTP fixes landed today: node's http2 no longer strands streams in nghttp2 after a destroy, and undici no longer hands a request to an idle socket whose keep-alive timer expired while the event loop was blocked.
http2: send deferred RST_STREAM on stream destroy nodejs/node
close() with NO_ERROR waits for 'finish' before sending RST_STREAM, so if the body is stuck behind flow control and the stream is destroyed first, the RST_STREAM never goes out and nghttp2 keeps the stream open. The next WINDOW_UPDATE finds no stream and OnRead returns 0 without EOF, producing empty DATA frames in a loop until the process runs out of memory; the report is filed against client r...
fix(h1): do not reuse idle sockets whose keep-alive timeout expired nodejs/undici
The idle-socket validation added for GHSA-35p6-xmwp-9g52 relies on one setImmediate yield, which only works when a poll phase runs between dispatch and the check phase. Dispatching from the poll phase lets the check complete before the keep-alive timer fires and before a FIN that arrived during the block is read, so reconsidered idle sockets can be reused after their timeout expired. This is th...
src: restore tty state on exit only if changed nodejs/node
ResetStdio() wrote the terminal attributes recorded at startup back to stdin and stderr unconditionally, even when the process never touched the terminal, which clobbered changes made by another process sharing it (node -h | less losing raw mode on node's exit, as the commit describes). It now restores the recorded state only if it changed.
doc: explain how sqlite binds numbers and BigInts nodejs/node
The docs now state the binding rule plainly: a JavaScript number always goes through sqlite3_bind_double() and is written as REAL even without a fractional part, while a BigInt goes through sqlite3_bind_int64() and is the way to write an INTEGER. Column affinity hid this most of the time, which is why the cases it does not cover were previously found by experiment.
tools: update mk-ca-bundle to 1.35 nodejs/node
Elsewhere in the long tail: mk-ca-bundle moved to 1.35 with fingerprint-based root exclusion via its -x parameter, V8 got a Temporal backport computing zoneinfo64.res length from the ResB index table in small-icu builds, and the reliability desk published its 2026-11-14 report.