]> Sergey Matveev's repositories - public-inbox.git/commit
extmsg: rework partial MID matching to favor current inbox
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 07:51:09 +0000 (07:51 +0000)
committerEric Wong <e@80x24.org>
Mon, 19 Mar 2018 07:51:59 +0000 (07:51 +0000)
commit79c034bf6e2a64c09d77e2ac4bf734347d686559
treee894d086313b6d47c11b2fd7ad54efd97b96f308
parentbbba974cc2b93a13c79312fdc3a0567059471e2e
extmsg: rework partial MID matching to favor current inbox

The current inbox is more important for partial Message-ID
matching, so we try harder on that to fix common errors before
moving onto other inboxes.  Then, prevent expensive scanning of
other inboxes by requiring a Message-ID length of at least 16
bytes.

Finally, we limit the overall partial responses to 200 when
scanning other inboxes to avoid excessive memory usage.
lib/PublicInbox/ExtMsg.pm