From 04ca2c69a8b0427aa67dda13a2855de583b11e4b Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 8 Jul 2018 19:48:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Remove=20streamSetMaxLength=20si?= =?UTF-8?q?nce=20that=20is=20handled=20by=20getFileFromDisks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/extractFileStream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssn/extractFileStream.ts b/src/ssn/extractFileStream.ts index c15f804..ed8a7c1 100644 --- a/src/ssn/extractFileStream.ts +++ b/src/ssn/extractFileStream.ts @@ -13,7 +13,7 @@ import streamSetMaxLength from './streams/streamSetMaxLength'; export default function extractFileStream(file: ISsnFileEntry, inputStream: stream.Readable, skipDecompression: boolean = false): stream.Readable { let curStream = inputStream; - curStream = streamSetMaxLength(curStream, file.compressedSize); + //curStream = streamSetMaxLength(curStream, file.compressedSize); //pipe into decryption if file is encrypted if (file.decryptionKeys !== undefined) {