docker-offlineimap/offlineimap
Sebastian Spaeth 971ed3adac Allow Imapserver.releaseconnection() to drop a connection
If a connection is broken, we want to have it really dropped and not be
reused. So far, we are checking the .Terminate attribute for this, but
according to the imaplib2 author, it is only set on normal shutdown and
it is an undocumented attribute whose meaning could change any time.

This patch introduces the parameter drop_conn which allows to tell
releaseconnection() that we really want to connection being dropped from
the pool of available connections and properly destroy it.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-09-06 20:03:33 +02:00
..
folder Rework undocumented listjoin to create UID sequences 2011-09-06 20:03:33 +02:00
repository Allow empty foldernames 2011-08-19 18:37:00 +02:00
ui Shorten list of messages to be deleted in UI output 2011-09-06 20:03:33 +02:00
__init__.py v6.3.4 2011-08-10 21:44:58 +02:00
accounts.py Make syncfoldersto to accept a single folder only 2011-08-17 21:02:21 +02:00
CustomConfig.py Improve CustomConfig documentation 2011-01-20 19:46:01 +01:00
error.py Add OfflineImapError class 2011-05-05 20:00:07 +02:00
imaplib2.py imaplib2: bump to upstream version 2.28 (rev 8228a0f) 2011-08-15 12:21:38 +02:00
imaplibutil.py Adapt the code to work with the new imaplib2 2011-08-15 12:21:38 +02:00
imapserver.py Allow Imapserver.releaseconnection() to drop a connection 2011-09-06 20:03:33 +02:00
imaputil.py Rework undocumented listjoin to create UID sequences 2011-09-06 20:03:33 +02:00
init.py Always call ui.terminate() 2011-06-16 18:57:35 +02:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py explicitly define symbols to import instead of 'import *' 2011-05-09 22:43:03 +02:00
syncmaster.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00
threadutil.py fix broken ui Blinkenlights in multi-threaded mode 2011-05-18 18:38:05 +02:00