[PATCH] Setup.exe: don't download forever in unattended mode.
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Wed Nov 4 17:42:00 GMT 2009
On Wed, Nov 04, 2009 at 05:47:15PM +0000, Dave Korn wrote:
>
> Hi all,
>
> In unattended mode, setup.exe automatically answers "yes" to all message
>boxes. If the message box is asking whether to retry an incomplete download,
>and the reason for the incomplete download is something non-transient, like
>the localhost or the mirror going offline, or a file is missing from the
>mirror, then it'll happily run forever. This patch adds a simple retry limit
>to the download stage in unattended mode; if it takes more than five goes, it
>gives up.
>
> * download.cc (do_download_thread): Only retry an incomplete download
> a limited number of times in unattended mode.
>
> Tested on a local mirror, by removing a package file. OK?
Yes, thanks.
cgf
More information about the Cygwin-apps
mailing list