Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265438 - sys-apps/portage-2.1.6.7 sets up one connection for each file when using FTP
Summary: sys-apps/portage-2.1.6.7 sets up one connection for each file when using FTP
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 273277
Blocks:
  Show dependency tree
 
Reported: 2009-04-08 12:46 UTC by Daniel Fleischman
Modified: 2009-06-10 12:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Fleischman 2009-04-08 12:46:36 UTC
When you emerge multiple files and your main mirror is using the FTP protocol, emerge sets up one connection per file.

I suggest setting up one connection and using it to download them all (or all available at that mirror)

Reproducible: Always

Steps to Reproduce:
1. emerge some new packages
Comment 1 Zac Medico gentoo-dev 2009-04-08 19:09:07 UTC
Since portage excecutes FETCHCOMMAND and RESUMECOMMAND for all fetches, it's not in a position to do connection caching (unless we implement an internal fetcher for the ftp protocol, with support for connection caching). However, you can probably setup a local ftp proxy yourself, and set the ftp_proxy variable in /etc/make.conf so that wget will direct all ftp requests to the proxy. You might be able to use net-ftp/frox for this purpose.