summaryrefslogtreecommitdiff
path: root/methods/mirror.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-03-16 08:24:03 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-03-16 08:24:03 +0100
commit4d8c4b509454d494e0b36f91ecb82f1ce7344923 (patch)
tree59fedcfe8142aba694b9accfadea2b8690d95353 /methods/mirror.h
parent30cd298887e196992c155d63ec5a9dc4bafe05b4 (diff)
parentf71c0f2e83d849b85c795a2a4a0056d265abf904 (diff)
* merged from debian/sid, this adds important fixes in the
apt mirror method * mirror method: - when downloading data, show the mirror being used - randomize mirror list after download in a host specific way to ensure that the load is evenly spreaded accross the mirrors - fix some missing "Fail-Ignore"
Diffstat (limited to 'methods/mirror.h')
-rw-r--r--methods/mirror.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/mirror.h b/methods/mirror.h
index 0a3ea6e92..bd807e122 100644
--- a/methods/mirror.h
+++ b/methods/mirror.h
@@ -34,6 +34,7 @@ class MirrorMethod : public HttpMethod
protected:
bool DownloadMirrorFile(string uri);
+ bool RandomizeMirrorFile(string file);
string GetMirrorFileName(string uri);
bool InitMirrors();
bool TryNextMirror();