diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-03-16 08:24:03 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-03-16 08:24:03 +0100 |
commit | 4d8c4b509454d494e0b36f91ecb82f1ce7344923 (patch) | |
tree | 59fedcfe8142aba694b9accfadea2b8690d95353 /methods/mirror.h | |
parent | 30cd298887e196992c155d63ec5a9dc4bafe05b4 (diff) | |
parent | f71c0f2e83d849b85c795a2a4a0056d265abf904 (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.h | 1 |
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(); |