[PATCH] Re: Allow SSL connections to send keep-alive messages

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Mar 1 17:55:12 UTC 2011


On Tue, Mar 01, 2011 at 02:49:02PM +0100, Sebastian Spaeth wrote:
> From: Gábor Melis <mega at retes.hu>
> 
> This seems to prevent mysterious hangs with SSL imap servers (especially
> gmail?) and does not harm in any case. So let us enable keep-alive
> messages for ssl connections.
> Our thread pool should be made more robust against closed SSL
> connections (which do not always seem to raise Exceptions), and not
> deadlock while waiting for resources or data that will never arrive.
> 
> Reviewed-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
> Signed-off-by: Gábor Melis <mega at retes.hu>

Thanks. Squashed this in:

-- >8 --
diff --git a/Changelog.draft.rst b/Changelog.draft.rst
index 44b4a87..8addd4f 100644
--- a/Changelog.draft.rst
+++ b/Changelog.draft.rst
@@ -23,6 +23,8 @@ Changes
 Bug Fixes
 ---------
 
+* Allow SSL connections to send keep-alive messages.
+
 
 Pending for the next major release
 ==================================
-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list