Skip to content

Commit 764c577

Browse files
committed
use chunkedPassthrough when passing chunks to mailsplit splitter
1 parent 9273add commit 764c577

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mail-drop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class MailDrop {
110110
});
111111
};
112112

113-
let raw = new PassThrough();
113+
let raw = new mailsplit.ChunkedPassthrough();
114114
let splitter = new mailsplit.Splitter({
115115
ignoreEmbedded: true,
116116
maxHeadSize: MAX_HEAD_SIZE

0 commit comments

Comments
 (0)