Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

[experimental] Avoid bug in fetch() with non-object reasons thrown with AbortSignal #2325

Closed
steveluscher opened this issue Mar 15, 2024 · 1 comment · Fixed by #2326
Closed
Labels
bug Something isn't working

Comments

@steveluscher
Copy link
Contributor

steveluscher commented Mar 15, 2024

Overview

The AbortSignal reason can be whatever you want, but there's a bug in undici <6.7.0 that chokes on signal reasons that are not objects. Read all about the fix here: nodejs/undici#2833

We need to make sure that none of our reasons trigger this bug or we're incompatible with undici <6.7.0 and >6.?.?. In my testing this only blows up in Node 21.

Copy link
Contributor

Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
1 participant