axios-axios/lib
Old Autumn 94e1543576
fix(fetch): cancel ReadableStream body after request stream capability probe (#7515)
The module-level capability probe in the fetch adapter creates a
ReadableStream as a Request body to test for streaming support, but
never cancels it.  The Request constructor sets up an internal pull
pipeline on the stream; since the stream is never consumed or
cancelled, the [[pullAlgorithm]] Promise remains pending indefinitely,
causing an async resource leak detectable by Node.js async_hooks and
Vitest --detect-async-leaks.

Extract the ReadableStream to a variable and call body.cancel() after
the probe completes to properly tear down the stream's internal
pipeline.
2026-03-16 09:12:42 +02:00
..
adapters fix(fetch): cancel ReadableStream body after request stream capability probe (#7515) 2026-03-16 09:12:42 +02:00
cancel feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
core refactor: update eslint to v10 (#7509) 2026-03-15 19:08:58 +02:00
defaults feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
env chore(release): prepare release 1.13.6 (#7446) 2026-02-27 17:28:22 +02:00
helpers docs(buildURL): fix outdated encode() comment (#7478) 2026-03-12 15:29:27 +02:00
platform feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
axios.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
utils.js feat: support react native blob objects (#5764) 2026-02-24 20:36:32 +02:00