diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-03-14 15:44:08 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-03-14 15:44:08 +0100 |
commit | 01a695e260429b4ed834a52fb55ba49a8cb42e6a (patch) | |
tree | b4e1d389778f0e8d4f9dba5691c40fad2e5874f5 /methods/mirror.h | |
parent | 8d6c583900b81bf996afd104571580c6f3e55e1c (diff) | |
download | apt-01a695e260429b4ed834a52fb55ba49a8cb42e6a.tar.gz |
randomize mirror list to ensure more even load
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(); |