adobe / adobe/node-httptransfer

Support for Interruptible Downloads

未关闭
#166 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
17
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

Hi team,

We’re requesting support for interruptible downloads in the node-httptransfer module.

This enhancement is needed for the AEM Desktop App, which relies on this library for managing large file downloads from AEM. Currently, if a user cancels a download or exits the application mid-transfer, there’s no clean way to interrupt and release resources tied to the in-progress download request. This can result in wasted bandwidth and lingering connections.

Desired Behavior

- Provide a mechanism (e.g., a cancellation token or similar API) to allow downloads to be programmatically interrupted.
- Ensure that aborting a download cleans up any associated streams, temp files, and connections gracefully.
- Ideally, support should be compatible with existing APIs to minimize integration impact.

Use Case
The AEM Desktop App often downloads large binaries, and it’s important for user experience and system efficiency that users can pause, cancel, or exit downloads mid-way without negative side effects.

We’re happy to collaborate on a proposed solution or contribute if needed. Let us know your thoughts!

Thanks,
Harsh Chiki
(on behalf of the AEM Desktop App team)

贡献指南

打开贡献指南

调研方向

首先检查 node-httptransfer 的下载 API,以及正在进行的请求、流、临时文件和连接是如何管理的。定义一种与现有 API 兼容的取消机制,然后验证在传输过程中取消或退出时能够释放这些资源,且不会影响已完成的下载。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, nodejs
领域
backend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。