Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141550 - enhance RESUMECOMMAND documentation in make.conf man page was: Portage/wget ratelimit fails on re-get.
Summary: enhance RESUMECOMMAND documentation in make.conf man page was: Portage/wget r...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 181949 187293
  Show dependency tree
Reported: 2006-07-23 23:15 UTC by Tres 'RiverRat' Melton
Modified: 2007-06-29 02:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Tres 'RiverRat' Melton 2006-07-23 23:15:29 UTC
FETCHCOMMAND="/usr/bin/wget --limit-rate=1k -t 5 --passive-ftp -P \${DISTDIR} \${URI}"

Above FETCHCOMMAND was set to confirm the following:
Start fetching a package and interrupt it.  When restarted the ratelimits are not applied until the start of the first full download.  If the next file is partially complete it will fail to apply the rate limits too.  I haven't checked if the rate limits are applied to a partial file after a full file with them are applied.  It is these symptoms that is leading me to believe that portage is failing to rate limit when it recieves the following response:

HTTP request sent, awaiting response... 206 Partial Content

or after noticing that it has part of the file.  If this turns out to be a wget bug then forgive me for mis-assigning it to portage.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-07-23 23:42:40 UTC
did you set RESUMECOMMAND?
Comment 2 Tres 'RiverRat' Melton 2006-07-24 02:29:24 UTC
No.  I didn't know about that one.  Now I'd like to change this to a documentation bug.  Please add to "man make.conf" at the end of the FETCHCOMMAND subsection:
Also see:  RESUMECOMMAND below.

And to the end of the RESUMECOMMAND subsection:  If using wget then the "--continue" option is advised.
Comment 3 Zac Medico gentoo-dev 2007-06-29 02:52:01 UTC
This has been released in 2.1.3_rc6.