• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jstedfast / MimeKit / 5.0.0.2393
0%

Build:
DEFAULT BRANCH: master
Ran 06 Oct 2026 02:06AM UTC
Jobs 1
Files 238
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Oct 2026 01:17AM UTC coverage: 95.593% (+0.1%) from 95.486%
5.0.0.2393

push

coveralls.net

jstedfast
Fix quadratic header buffer growth and add ParserOptions.MaxHeaderLength

MimeReader and LegacyMimeParser grew their header buffers by a small fixed
amount each time, copying the whole accumulated header on every input
refill (or every line, for the legacy parser). Very long folded headers
therefore took quadratic time. Header buffers now grow geometrically
(1.5x) via MimeReader.NextGrowSize.

80,000-recipient To header (4.9 MB message):
  MimeReader:        ~208 ms -> 2.8 ms
  MimeParser:        ~230 ms -> 3.2 ms
  LegacyMimeParser:   ~13 s  -> 3.4 ms

Also add ParserOptions.MaxHeaderLength (default 16 MB) to bound the memory
used for any single header. Both MimeReader (sync and async) and
LegacyMimeParser throw a FormatException when a header exceeds it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

41082 of 42976 relevant lines covered (95.59%)

0.96 hits per line

Coverage Regressions

Lines Coverage ∆ File
27
98.17
0.01% D/a/MimeKit/MimeKit/MimeKit/MimeReader.cs
17
96.72
0.66% D/a/MimeKit/MimeKit/MimeKit/LegacyMimeParser.cs
7
97.62
0.01% D/a/MimeKit/MimeKit/MimeKit/AsyncMimeReader.cs
3
97.74
0.13% D/a/MimeKit/MimeKit/MimeKit/ParserOptions.cs
Jobs
ID Job ID Ran Files Coverage
1 5.0.0.2393.1 06 Oct 2026 02:06AM UTC 238
95.59
Source Files on build 5.0.0.2393
  • Tree
  • List 238
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7eb5e861 on github
  • Prev Build on master (#5.0.0.2392)
  • Next Build on master (#5.0.0.2396)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc