You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
fetch(url) leads to a memory leak in undici
Moderate severity
GitHub Reviewed
Published
Feb 16, 2024
in
nodejs/undici
•
Updated Apr 19, 2024
Impact
Calling
fetch(url)
and not consuming the incoming body ((or consuming it very slowing) will lead to a memory leak.Patches
Patched in v6.6.1
Workarounds
Make sure to always consume the incoming body.
References