adobe / adobe/node-httptransfer
Support for Interruptible Downloads
- 主要言語
- 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
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100