randomize mirror list to ensure more even load
[ntk/apt.git] / methods / mirror.h
index 0a3ea6e..bd807e1 100644 (file)
@@ -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();