[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.159, 1.160

tss at dovecot.org tss at dovecot.org
Wed Dec 20 19:23:48 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv31150/lib-storage/index/mbox

Modified Files:
	mbox-storage.c 
Log Message:
Dovecot is now able to execute multiple commands at the same time.
Practically this means commands: FETCH, LIST, SEARCH and syncing output for
all commands. For example it's possible that doing two FETCH commands at the
same time makes their output mixed together.

Non-blocking SEARCH is done by doing search for 20 mails at a time, and then
checking if another command is pending.

Also added X-CANCEL <tag> command to cancel running commands.



Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- mbox-storage.c	10 Dec 2006 13:01:35 -0000	1.159
+++ mbox-storage.c	20 Dec 2006 19:23:46 -0000	1.160
@@ -1093,7 +1093,7 @@
 		index_header_lookup_deinit,
 		index_storage_search_init,
 		index_storage_search_deinit,
-		index_storage_search_next,
+		index_storage_search_next_nonblock,
 		index_storage_search_next_update_seq,
 		mbox_save_init,
 		mbox_save_continue,



More information about the dovecot-cvs mailing list