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 }}
Repository navigation
HTTP: cancelling request not working for streaming #2557
Could you give #2562 a try and see if there is any use cases I missed?
I mainly tested the following case:
constabort=newAbortController();constres=awaitfetch("someurl",{signal: abort.signal})constreader=res.body.getReader();reader.read()// ensure we got some dataabort.abort()// abort the requstreader.read()// fails as the stream is closed
Activity
fix(http): fix aborting a streaming response
amrbashir commentedon Mar 22, 2025
Could you give #2562 a try and see if there is any use cases I missed?
I mainly tested the following case: