`reader.cancel` will not stop fetch stream
还没有人认领这个 Issue。
- #749 来自 @lnuxe —— 已关闭,未合并
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
调研方向
Start with the provided fetch and ReadableStream reader.cancel() reproduction and use the browser DevTools Network panel to confirm whether the request stops. Trace how vConsole handles this stream-related behavior, then verify that cancellation fulfills and the network request is actually stopped.
由索引模型根据 Issue 内容生成。
描述
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()
- 主要语言
- TypeScript
- 星标
- 17.5k
- 派生
- 3k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Tencent/vConsole 的其他 Issue
-
[Network] fetch proxy 读取分块流到 EOF 时抛 TypeError: Cannot read properties of undefined (reading 'length')可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
-
Uncaught TypeError when assigning null to xhr.onreadystatechange/onprogress (breaks hls.js abort)可能已有人在做 @cyhano 于 76 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
-
Prototype Pollution in network.model.ts可能已有人在做 @dvd233 于 77 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
不发新版 npm 包了吗未关闭
难度 2/5 1 小时以内 新手友好度 15/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
status: triage type: bug
难度 2/5 1-3 小时 新手友好度 83/100
WhiteTowerAI/ohmygame#1225 ·
维护者通常 1 天内回复
-
Add: KBS TV SD未关闭streams:add
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
ardia-browser/ardia#5042 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
keycloakify/oidc-spa#211 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复