adobe / adobe/node-httptransfer
Support for Interruptible Downloads
- Lenguaje dominante
- JavaScript
- Estrellas
- 17
- Forks
- 11
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
Guía de contribución
Línea de trabajo
Comienza revisando la API de descarga de node-httptransfer y cómo se gestionan las solicitudes en curso, los streams, los archivos temporales y las conexiones. Define un mecanismo de cancelación compatible con las API existentes y, después, verifica que cancelar o salir a mitad de una transferencia libere esos recursos sin afectar a las descargas completadas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, nodejs
- Área
- backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100