adobe / adobe/node-httptransfer

Support for Interruptible Downloads

Aperta
#166 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
17
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando l’API di download di node-httptransfer e il modo in cui vengono gestite le richieste in corso, gli stream, i file temporanei e le connessioni. Definisci un meccanismo di annullamento compatibile con le API esistenti, quindi verifica che annullare o uscire durante un trasferimento liberi queste risorse senza influire sui download completati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, nodejs
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.