Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2006 21:19:43 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/portsnap/portsnap portsnap.sh
Message-ID:  <200605032119.k43LJhpG059228@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2006-05-03 21:19:43 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/portsnap/portsnap portsnap.sh 
  Log:
  Instead of selecting a mirror and failing if it is inaccessible, keep
  track of which mirrors we have tried and try a different mirror if we
  fail when trying to download the SSL public key or the snapshot
  signature.
  
  Failures later in the download process will not result in switching to
  a different mirror, for two reasons:
  1. If is very unlikely that a mirror will fail partway through the
  process of downloading updates.
  2. If we switched from a more recently updated mirror to a less
  recently updated mirror partway through the download process, we would
  end up failing anyway because we would be trying to fetch files which
  the second mirror didn't have yet.
  
  PR:             bin/96288
  Requested by:   lots of people
  Sponsored by:   FreeBSD security development fundraiser
  
  Revision  Changes    Path
  1.18      +50 -25    src/usr.sbin/portsnap/portsnap/portsnap.sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605032119.k43LJhpG059228>