Re: resuming apt-get downloads
On Tue, Jan 01, 2002 at 07:30:38PM -0800, Osamu Aoki wrote:
> On Tue, Jan 01, 2002 at 02:07:27AM +0000, Brian Potkin wrote:
> > On Mon, Dec 31, 2001 at 11:59:35AM -0800, Osamu Aoki wrote:
> > > FTP can resume partialy downloaded file transfer.
> > >
> > > HTTP can not resume partialy downloaded file but faster and easy on IP
> > > masquerading.
> >
> > I don't know about the masquerading part but apt-get can certainly
> > resume an interupted download using HTTP.
>
> Resume in 2 sense:
>
> APT downloads multiple package files using underlying protocol and will
> resume smartly. If APT is used with HTTP, it resumes session by
> downloading from the package it failed at the first run from its start.
This isn't true. APT's HTTP method has always used the HTTP/1.1 Range:
header to attempt to resume downloads from the middle of a file. The
only reason it might not work is if the server doesn't support
byte-range operations.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: