diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-01-18 17:23:26 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-01-18 17:30:24 +0200 |
commit | 29a837b1126c701191affceb092afbb8de5d5ffc (patch) | |
tree | 02c01f31f1a891f89226ff8caadc2d14476b1516 /libmailutils/url/create.c | |
parent | 99b6b6f02c3cf94ebe1daf7233a702c743d6a2b5 (diff) | |
download | mailutils-29a837b1126c701191affceb092afbb8de5d5ffc.tar.gz mailutils-29a837b1126c701191affceb092afbb8de5d5ffc.tar.bz2 |
Read message headers during initial scan of an imap mailbox
This considerably speeds up the operation of such tools as
mail (initial loading), frm or from.
* include/mailutils/sys/imap.h (_mu_imap_message): New member:
header_stream.
* libproto/imap/mbox.c (_imap_msg_free): Destroy header_stream.
(_imap_hdr_fill): Rewrite.
(fetch_response_parser): Handle MU_IMAP_FETCH_BODY.
(_imap_mbx_scan): Fetch BODY.PEEK[HEADER].
Diffstat (limited to 'libmailutils/url/create.c')
0 files changed, 0 insertions, 0 deletions