| Summary: | download.php may only return ftp|http://ftp.osuosl.org when accessed from 140.211.166.119 | ||
|---|---|---|---|
| Product: | Community | Reporter: | Markus Kuppe <bugs.eclipse.org> |
| Component: | Servers | Assignee: | Eclipse Webmaster <webmaster> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | david_williams, denis.roy |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Markus Kuppe
Some builds timeout occasionally due to the excessive time it takes to install from (remote) mirrors. Any chance this can be addressed? download.php isn't designed to return a single mirror, but I've set a hostmask for the mirror's record to ensure it is always returned first for .osuosl.org hosts. Thanks, unfortunately this is only half of a solution. p2 selects mirrors on a RR basis from the list of mirrors. But maybe that is something that can be changed in p2. If you're keen on saving bandwidth, setting up a simple caching server/proxy server such as varnish or squid may help. You can even create rewrite rules to redirect traffic based on the URL. See http://varnish-cache.org/ For reference as noted on bug #324983#c19 a mirror request for 140.211.166.119 has been filed. We won't hardcode IP addresses into download.php (unless they're our own). |