-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Description
I want to use archiver to compress more then 1 million files and stream the result to http response.
When using zip-stream : archive not finalized correctly and download is blocked (0 o/s ...)
Seem to work fine when using tar-stream.
Testing code :
archive.pipe(res);
for (var i=0;i<1000000;i++)
{
let jsonFileContent = {test:"test"};
archive.append(JSON.stringify(jsonFileContent, null, 2), {
name: path.join('test', "json-test-" + i + ".json")
})
}
archive.finalize();
Metadata
Metadata
Assignees
Labels
No labels