Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Date: Tue, 4 Dec 2001 10:59:45 -0500 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Subject: Re: multiple mirror code && setup HEAD Message-ID: <20011204155945.GD15432@redhat.com> Reply-To: cygwin-apps AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com References: <07f101c17cb9$06992ba0$0200a8c0 AT lifelesswks> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07f101c17cb9$06992ba0$0200a8c0@lifelesswks> User-Agent: Mutt/1.3.23.1i On Tue, Dec 04, 2001 at 10:44:25PM +1100, Robert Collins wrote: >----- Original Message ----- >From: "Gary R. Van Sickle" > >> 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