[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-tracker] [bug #25512] [Patch] Retry on Imap failure
From: |
anonymous |
Subject: |
[Duplicity-tracker] [bug #25512] [Patch] Retry on Imap failure |
Date: |
Mon, 09 Feb 2009 10:34:32 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 |
Follow-up Comment #1, bug #25512 (project duplicity):
Hi,
I've attached a new patch adding retry during reconnection too.
The only possible case of failure now is when login fails which is usually
detected on first connection.
I've tested this patch with a gmail IMAPS connection and the uploading went
fine during 2 days and 3.5GB and then Gmail stopped accepting more data (login
failed with message "Account exceeded bandwidth limits").
I could have fixed that too by catching IMAP4.error instead of IMAP4.abort,
but I guess it's not fair-use of Google's service, so I've kept the current
behaviour to only retry on socket, ssl and imap error, and not being a leech.
Without that patch, I couldn't upload more than 400MB before I got a sslerror
or an imap failure.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25512>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/