[PATCH] fix hang because of infinite loop reading EOF
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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the OfflineIMAP-project