summaryrefslogtreecommitdiff
path: root/apt-pkg/update.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-11-13 02:29:46 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-11-25 00:15:13 +0100
commit5832913a49d4f7c75527264a935cc0ce00627f1d (patch)
tree66d05f63b132086abfcf6e83d3b62eec01640aef /apt-pkg/update.cc
parentf77ea8235cafb258d1cb0b2b90e95aa36e5c4650 (diff)
get pdiff files from the same mirror as the index
In ad9416611ab83f7799f2dcb4bf7f3ef30e9fe6f8 we fall back to asking the original mirror (e.g. a redirector) if we do not get the expected result. This works for the indexes, but patches are a different beast and much simpler. Adding this fallback code here seems like overkill as they are usually right along their Index file, so actually forward the relevant settings to the patch items which fixes pdiff support combined with a redirector and partial mirrors as in such a situation the pdiff patches would be 404 and the complete index would be downloaded.
Diffstat (limited to 'apt-pkg/update.cc')
0 files changed, 0 insertions, 0 deletions