This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: multiple mirror code && setup HEAD
On Tue, Dec 04, 2001 at 10:44:25PM +1100, Robert Collins wrote:
>----- Original Message -----
>From: "Gary R. Van Sickle" <g.r.vansickle@worldnet.att.net>
>
>> Coolness. One dime-a-dozen-notion that I've been having is an
>automatic site
>> selection ability that would ping 'em all and let God sort 'em out, or
>rather
>> qsort, and then fail over in order of increasing ping.
>
>qsort is history :}. The list.h template uses an insertion sort.
>
>I've already though about this:
>
>What you should do is have all the sites pinged when parsing
>mirrors.lst, and then store the resulting list and times for future
>reference on disk.
The mirrors list is supposed to be automatically "pre pinged". The list
of mirrors that you see is supposed to be a list of sites with the
most up-to-date info.
I get a list twice a day of mirror sites which have failed the "up-to-date"
test. They get removed from the list.
cgf