[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mailutils ./ChangeLog include/mailutils/Makefil...
From: |
Alain Magloire |
Subject: |
mailutils ./ChangeLog include/mailutils/Makefil... |
Date: |
Thu, 11 Oct 2001 00:23:31 -0400 |
CVSROOT: /home/cvs
Module name: mailutils
Changes by: Alain Magloire <address@hidden> 01/10/11 00:23:31
Modified files:
. : ChangeLog
include/mailutils: Makefile.am
mailbox : file_stream.c folder_imap.c mbx_imap.c
mailbox/include: imap0.h
Log message:
In order to boost performance, when doing the scan we use
the approach of downloading part of the header of the total
set of messages. The it was done before is that the headers
were ask one by one per message. This was causing performance
delay because we were doing a lot of small transaction on
the TCP/IP stack. By bundling the entire thing in one request
there was much less transcation and the speed was increase
by a factor of 10++.
The Imap code folder_imap.c and mbx_imap.c is now messy.
The rewrite in mailbox2 should clean this up though.
* mailbox/folder_imap.c (imap_quoted_string): Allocated the
memory instead.
(imap_body): If we were doing the scan free the memory and create
the cache header.
(imap_fetch): Create the message if was not done, important for
the scan.
* mailbox/mbx_imap.c (imap_scan): Bundle one big request to
fetch as much information as possible.
(message_operation): Free the buffer when done.
* mailbox/include/imap0.h: Add IMAP_SCAN states.
* mailbox/file_stream.c (_file_readline): It seems that fgets() can
not handle binary data. Try to do our best.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/ChangeLog.diff?cvsroot=OldCVS&tr1=1.279&tr2=1.280&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/include/mailutils/Makefile.am.diff?cvsroot=OldCVS&tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/mailbox/file_stream.c.diff?cvsroot=OldCVS&tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/mailbox/folder_imap.c.diff?cvsroot=OldCVS&tr1=1.30&tr2=1.31&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/mailbox/mbx_imap.c.diff?cvsroot=OldCVS&tr1=1.39&tr2=1.40&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/mailutils/mailbox/include/imap0.h.diff?cvsroot=OldCVS&tr1=1.7&tr2=1.8&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mailutils ./ChangeLog include/mailutils/Makefil...,
Alain Magloire <=