ReadableStream
in response body not canceled when client closes connection
#9068
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
pkg: node
Related to Node adapter (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When implementing server-sent events,
cancel()
is not called when client closes the connection (e.g. closes the tab).What's the expected result?
cancelled
is logged to the consoleLink to Minimal Reproducible Example
https://github.com/pilcrowOnPaper/astro-readable-stream-bug
Participation
The text was updated successfully, but these errors were encountered: