From owner-cvs-all Wed Mar 8 7:25:24 2000 Delivered-To: cvs-all@freebsd.org Received: from knight.cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (Postfix) with ESMTP id 2C37637B5E3; Wed, 8 Mar 2000 07:25:13 -0800 (PST) (envelope-from cracauer@knight.cons.org) Received: (from cracauer@localhost) by knight.cons.org (8.9.3/8.9.3) id QAA13489; Wed, 8 Mar 2000 16:24:36 +0100 (CET) Date: Wed, 8 Mar 2000 16:24:35 +0100 From: Martin Cracauer To: Oscar Bonilla Cc: Martin Cracauer , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/fetch fetch.h ftp.c http.c main.c Message-ID: <20000308162435.A13464@cons.org> References: <200003081302.FAA18063@freefall.freebsd.org> <20000308092014.A75180@fisicc-ufm.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000308092014.A75180@fisicc-ufm.edu>; from obonilla@fisicc-ufm.edu on Wed, Mar 08, 2000 at 09:20:14AM -0600 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In <20000308092014.A75180@fisicc-ufm.edu>, Oscar Bonilla wrote: > On Wed, Mar 08, 2000 at 05:02:12AM -0800, Martin Cracauer wrote: > > cracauer 2000/03/08 05:02:12 PST > > > > Modified files: > > usr.bin/fetch fetch.h ftp.c http.c main.c > > Log: > > Print a warning and exit with != 0 when at least one downloaded file > > is shorter than previously announced by the server. > > could we add a retry flag that keeps trying until the downloaded > file has the same size as announced by the server? it'd be really > useful for very lossy channels. Good idea. This (or another) flag could also try different combinations of -b an -t automatically. Suggestion noted, I plan to clean up the counting mechanism after the release. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message