]> Sergey Matveev's repositories - public-inbox.git/commit
imap: rely on smsg->{bytes} for RFC822.SIZE
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:05:03 +0000 (07:05 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commitdb95fdf669b11a0d3c3259e0ef7a1cbdb14ba1f3
treed4372559c7831ebf6f51dc7a9f1ee15da0024126
parentcd389aac52936c82f3416b3ceefe21e1250b8a3e
imap: rely on smsg->{bytes} for RFC822.SIZE

Since we started indexing the CRLF-adjusted size of messages,
we can take an order-of-magnitude speedup for certain MUAs
which fetch this attribute without needing much else.

Admins are encouraged to --reindex existing inboxes for IMAP
support, anyways.  It won't be fatal if it's not reindexed, but
some client bugs and warnings can be fixed and they'll be able
to support more of IMAP.
lib/PublicInbox/IMAP.pm