Files
OmniRoute/scripts/dev/httpClientAbortGuard.mjs
Az1muth 2d185de9d9 fix(sse): prevent client-abort (aborted/ECONNRESET) from crashing the server (#11556)
Merged via /merge-batch (lote 2026-08-26, v3.8.51). Boarded no worktree combinado junto com outras ~30 PRs; validação única: typecheck/complexity/cognitive-complexity/changelog-integrity verdes, file-size rebaseado onde necessário (crescimento legítimo), lint com os mesmos 228 achados pré-existentes confirmados via sonda contra o tip puro (não introduzidos por este lote), e ~370 testes focados (unit + vitest) passando. Obrigado pela contribuição.
2026-08-26 08:11:14 -03:00

18 lines
524 B
JavaScript

"use strict";
/**
* Re-export of the shared client-abort guard so the Node-only dev server
* (`run-next.mjs`) keeps importing from its original relative path. The real
* implementation lives in `src/shared/utils/httpClientAbortGuard.mjs` (importable
* from both `.mjs` and the TypeScript servers under `src/`, tsconfig allowJs).
*
* @module
*/
export {
isClientAbortError,
shouldSwallowUncaught,
attachRequestStreamGuards,
installProcessCrashGuard,
} from "../../src/shared/utils/httpClientAbortGuard.mjs";