request.signal is never fired in dev server
Reproduction
https://stackblitz.com/edit/remix-run-remix-jkyczz?file=app%2Froutes%2Fstream.tsx
Based on discussion: https://github.com/remix-run/remix/discussions/8461
The effects of the bug are twofold:
- Actual abort signal behavior cannot be tested and verified using the dev server.
- The dev server might leak resources that should have been freed when the request was cancelled.
Not that the bug only applies to the dev server. Using the express server the request abort signal is fired correctly.
System Info
See Stackblitz
Used Package Manager
npm
Expected Behavior
Dev server should print 'Received Abort!' when the response gets cancelled a second in.
Actual Behavior
Silence.
Faced the same issue, this is very important please fix
Resolved by #9976 and will be available in the next release 👍
🤖 Hello there,
We just published version 2.12.1-pre.0 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!
🤖 Hello there,
We just published version 2.12.1 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!