[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
    
        - Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c,
	1.33, 1.34 index-mail.c, 1.48, 1.49 index-storage.c, 1.61, 1.62
 
        - Next message: [dovecot-cvs] 
	dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.16,
	1.17 mbox-lock.c, 1.9, 1.10 mbox-save.c, 1.56, 1.57
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
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,
    
    
        
	- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c,
	1.33, 1.34 index-mail.c, 1.48, 1.49 index-storage.c, 1.61, 1.62
 
	- Next message: [dovecot-cvs] 
	dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.16,
	1.17 mbox-lock.c, 1.9, 1.10 mbox-save.c, 1.56, 1.57
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the dovecot-cvs
mailing list