docker-offlineimap/offlineimap
Eygene Ryabinkin d55e4ef15e imaplib2: fix handling of zero-sized IMAP objects
self._expecting_data was used both as the expected data length and the
flag that we expect some data.  This obviously fails when advertized
data length is zero, so self._expecting_data_len was introduced to
hold the length of the expected data and self._expecting_data was left
as the flag that we expect the data to come.

GitHub issue: https://github.com/OfflineIMAP/offlineimap/issues/15
Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
2013-08-27 20:25:30 +04:00
..
folder Add support for alternative message date synchronisation 2013-08-09 10:48:00 +04:00
repository Add new expansion key for mbnames.peritem config variable 2013-08-27 20:25:23 +04:00
ui Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
utils Create global instance of command-line options 2013-02-11 23:34:18 +04:00
__init__.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
accounts.py Add new expansion key for mbnames.peritem config variable 2013-08-27 20:25:23 +04:00
CustomConfig.py Make authentication mechanisms configurable 2013-08-08 22:34:30 +04:00
emailutil.py Add support for alternative message date synchronisation 2013-08-09 10:48:00 +04:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
globals.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
imaplib2.py imaplib2: fix handling of zero-sized IMAP objects 2013-08-27 20:25:30 +04:00
imaplibutil.py IMAPlib mixin class: pass 'readonly' exception to our callers 2012-08-11 11:59:26 +02:00
imapserver.py Make authentication mechanisms configurable 2013-08-08 22:34:30 +04:00
imaputil.py Improve 'find first quotation' regex 2012-08-21 16:58:32 +02:00
init.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Add new expansion key for mbnames.peritem config variable 2013-08-27 20:25:23 +04:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py Fix deadlock for IMAP folder synced in singlethreaded mode 2013-02-05 07:53:25 +04:00