]> git.saurik.com Git - apt.git/commit
retry without same redirection mirror on 404 errors
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 14 Aug 2016 11:12:08 +0000 (13:12 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 17 Aug 2016 05:55:45 +0000 (07:55 +0200)
commitad9416611ab83f7799f2dcb4bf7f3ef30e9fe6f8
tree8ae1c40f3b12b02b468b53d43ad5b4412f88a95c
parent18ccc85f02325ac87ee13bb96c92594fcfda5ea4
retry without same redirection mirror on 404 errors

If 9b8034a9fd40b4d05075fda719e61f6eb4c45678 serves the Release files
from a partial mirror we will end up getting 404 for some of the
indexes. Instead of giving up, we will instead ignore our same
redirection mirror constrain and ask the redirection service as a
potential hashsum mismatch is better than keeping the certain 404 error.
apt-pkg/acquire-item.cc
test/integration/test-handle-redirect-as-used-mirror-change