]> 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 (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 08:15:39 +0000 (08:15 +0000)
commit471cc731579002419d23f64509497dd486dd632c
treeac0b231d665b51b1d30bb3f3dd8592a93c4a79f2
parentcab22861f2a22482b74d20c05afbd6108a4590cb
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