cvs commit: src/usr.sbin/portsnap/portsnap portsnap.sh

Colin Percival cperciva at FreeBSD.org
Wed May 3 21:19:44 UTC 2006


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


More information about the cvs-src mailing list