[PATCH] fix hang because of infinite loop reading EOF

Sebastian Spaeth Sebastian at SSpaeth.de
Thu Mar 3 08:47:55 GMT 2011


On Thu, 03 Mar 2011 10:46:33 +0800, Haojun Bao <baohaojun at gmail.com> wrote:
> Hi, all
> 
> Offlineimap sometimes hangs when downloading gmail with large
> attachment.


After reading some more python bugs, eg http://bugs.python.org/issue3890
I see that in blocking ssl reads, sometimes incomplete reads can be
returned. So if you find that your patch fixes the hang without causing
other trouble, I think it should go in anyway. A fix for the specific
hang has been committed to p2.6 in March 2010 though.

So +1 for you patch based on that.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110303/6d60fd10/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list