This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Setup.exe: don't download forever in unattended mode.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]