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) {