[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-save.c, 1.36, 1.37

cras at dovecot.org cras at dovecot.org
Sun Aug 15 06:40:34 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv20173/lib-storage/index/maildir

Modified Files:
	maildir-save.c 
Log Message:
We never do blocking reads/writes to network anymore. Changed imap and pop3
processes to use a single I/O loop.

Not much tested yet, and currently LIST/LSUB may eat too much memory and
APPEND eats all CPU.



Index: maildir-save.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/maildir/maildir-save.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- maildir-save.c	9 Jul 2004 17:19:04 -0000	1.36
+++ maildir-save.c	15 Aug 2004 03:40:32 -0000	1.37
@@ -47,8 +47,7 @@
 	i_assert(fname != NULL);
 	fname++;
 
-	output = o_stream_create_file(fd, pool_datastack_create(), 4096, FALSE);
-	o_stream_set_blocking(output, 60000, NULL, NULL);
+	output = o_stream_create_file(fd, pool_datastack_create(), 0, FALSE);
 
 	crlf = getenv("MAIL_SAVE_CRLF") != NULL;
 	if (mail_storage_save(ibox->box.storage, path, input, output,



More information about the dovecot-cvs mailing list