Skip to content

[pull] main from withastro:main - #677

Merged
pull[bot] merged 1 commit into
code:mainfrom
withastro:main
Aug 10, 2026
Merged

[pull] main from withastro:main#677
pull[bot] merged 1 commit into
code:mainfrom
withastro:main

Conversation

@pull

@pull pull Bot commented Aug 10, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

… matching\n\nWhen `staticHeaders` is enabled with CSP, the static file handler creates\na Web Request via `createRequestFromNodeRequest` solely for route matching.\nThis internally wires an AbortController that adds a `close` listener to\nthe socket. Since the Request is discarded after matching, the listener\nwas never cleaned up, causing them to accumulate on keep-alive connections\nand triggering Node's MaxListenersExceededWarning after ~11 requests.\n\nCall `getAbortControllerCleanup(req)?.()` after matching to remove the\nsocket listener immediately, matching the pattern already used in\nserve-app.ts (PR #15735).\n\nCloses #17657" (#17658)
@pull pull Bot locked and limited conversation to collaborators Aug 10, 2026
@pull pull Bot added the ⤵️ pull label Aug 10, 2026
@pull
pull Bot merged commit 8b211a5 into code:main Aug 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant