On Sun, 2004-10-10 at 12:26 -0400, seth vidal wrote:
On Sun, 2004-10-10 at 13:45 +0200, Nils Philippsen wrote:
> On Sun, 2004-10-10 at 12:46 +0200, Ralf Ertzinger wrote:
> > Hi.
> >
> > seth vidal <skvidal(a)phy.duke.edu> wrote:
> >
> > > If you're not using a site that supports http 1.1 and byte-ranges
then
> > > yum will have to download the whole package.
> >
> > You're grabbing the headers out of the RPM files via byte ranges?
> > Sweet idea.
>
> Though it would be even sweeter if byte-ranges fail you would start to
> download the whole thing (or at least tell the server that) and break
> the connection when you've read the entire header. Still better than
> downloading the whole thing.
>
I welcome patches to do just that but you should coordinate with the
urlgrabber authors.
And that are ...?
[...]
nils@gibraltar:~> rpm -qf /usr/lib/python2.3/site-packages/urlgrabber
yum-2.1.6-1
[...]
Thanks for volunteering!
I'll add that to the list of things I want to do when I have the time
;-P.
Nils
--
Nils Philippsen / Red Hat / nphilipp(a)redhat.com
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011