Skip to content

Comments

Fix performance issue on large inputs to decodeFlowed()#25

Merged
andris9 merged 1 commit intonodemailer:masterfrom
valeriansaliou:master
Jun 26, 2025
Merged

Fix performance issue on large inputs to decodeFlowed()#25
andris9 merged 1 commit intonodemailer:masterfrom
valeriansaliou:master

Conversation

@valeriansaliou
Copy link
Contributor

@valeriansaliou valeriansaliou commented Jun 26, 2025

Fix for issue reported here: nodemailer/mailparser#389

On my test EML, it produces the same exact same output, in only 11ms vs 9098ms with the previous decodeFlowed().

Once this PR is accepted, the following dependency chain will need to be updated to the fixed libmime version:

- mailparser
  |- mailsplit
    |- libmime

Tests are all passing on my end following this patch.

@andris9 andris9 merged commit c893811 into nodemailer:master Jun 26, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants