dovecot-2.1: pop3: When pop3_fast_size_lookups=yes, don't assume...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 5 18:39:37 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/a70f6f04f1fe
changeset: 13610:a70f6f04f1fe
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 05 18:47:56 2011 +0300
description:
pop3: When pop3_fast_size_lookups=yes, don't assume we need to fetch virtual size.
This fixes prefetch unnecessarily opening mail files.
diffstat:
src/pop3/pop3-client.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 09707b608d8d -r a70f6f04f1fe src/pop3/pop3-client.c
--- a/src/pop3/pop3-client.c Wed Oct 05 17:55:29 2011 +0300
+++ b/src/pop3/pop3-client.c Wed Oct 05 18:47:56 2011 +0300
@@ -151,6 +151,7 @@
search_args = mail_search_build_init();
mail_search_build_add_all(search_args);
ctx = mailbox_search_init(t, search_args, pop3_sort_program,
+ client->set->pop3_fast_size_lookups ? 0 :
MAIL_FETCH_VIRTUAL_SIZE, NULL);
mail_search_args_unref(&search_args);
More information about the dovecot-cvs
mailing list