-
Committer:
Y.C cheng
-
Date:
2013-12-24 09:24:22 UTC
-
mfrom:
(29.1.8 UbuntuInstaller)
-
Revision ID:
yc.cheng@canonical.com-20131224092422-opm15b16tphz3r3j
Resume download:
1. add a parameter to set whether it's a partial downloaded and
last downloaded size (for storage size calculation)
2. don't delete download for cancel download or download failed.
(due to IO error, mostly network error)
3. only reuse file with the same channel as revision.