docker-offlineimap/offlineimap
John Goerzen 1ebc45d963 Fix performance for SSL
Added WrappedIMAP4_SSL class to help fix up performance of SSL

Standard imaplib.py is really bad with this, since it reads one
character at a time.

Reported by Aaron Kaplan at
http://lists.complete.org/offlineimap@complete.org/2008/01/msg00012.html.gz

He wrote:

  I just noticed that the version of offlineimap I've been using
  (3.99.17) is well over four years old.  How time flies.  I haven't
  had any problems with it, but out of curiosity I decided to pull in
  5.99.2 from the fedora repository.  It turns out to take
  consistently over twice as long as the old version to sync the same
  account.  Is this expected?

He tracked it down at
http://lists.complete.org/offlineimap@complete.org/2008/02/msg00012.html.gz

  The following changeset is the one responsible for the difference in
  speed I was noticing between the imaplib.py that was packaged with
  older versions of offlineimap and the one that comes with python:

  * /offlineimap/head: changeset 169
    More optimizations -- this time fix readline() to not work
    character-by-character!
2008-03-03 08:22:44 -06:00
..
folder Fix handling of servers that return UIDs in some FETCH responses 2008-03-02 22:25:05 -06:00
repository Truncate local status folders on creation 2008-03-02 22:21:10 -06:00
ui Fixed locked() for noninteractive UIs 2007-10-10 00:12:22 +01:00
__init__.py Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
accounts.py Infrastructure for notifying LocalStatus of local mailbox creations 2008-03-02 22:17:45 -06:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
imaplibutil.py Fix performance for SSL 2008-03-03 08:22:44 -06:00
imapserver.py Fix performance for SSL 2008-03-03 08:22:44 -06:00
imaputil.py Update FSF address 2006-08-12 05:15:55 +01:00
init.py Add option '-f' for sync'ing only selected folders 2008-01-03 04:15:11 +01:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py Clean up imaplib imports 2007-07-04 18:53:48 +01:00
threadutil.py Update FSF address 2006-08-12 05:15:55 +01:00
version.py Add option '-f' for sync'ing only selected folders 2008-01-03 04:15:11 +01:00