Skip to content

reader.cancel will not stop fetch stream #648

@gongrongyun

Description

@gongrongyun

vConsole Version:

latest (v3.15.1)

problem:

stream will not be stopped after cancel, even if it return fulfilled, we can look to devtools - network panel to verify this problem

demo:

const res = await fetch(url)
const reader = res.body.getReader()
reader.cancel()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions