[Yum-devel] Fastest mirror selection plugin
Panu Matilainen
pmatilai at laiskiainen.org
Tue Nov 29 07:54:49 UTC 2005
On Tue, 29 Nov 2005, seth vidal wrote:
> On Mon, 2005-11-28 at 20:41 -0600, Johnny Hughes wrote:
>>
>> It won't work with proxies IF the outbound port is blocked from the
>> client to the servers.
>>
>> The connection it makes is a direct connection, so if it is blocked, it
>> marks all the mirrors as dead.
>>
>> It works OK if the client and the proxy can both connect outbound.
>
> ah - so it's not using the proxy defined in the repo at all.
It uses socket.connect() for the timing so...
> Hmm - we might want to address that.
Would be nice, but how do you measure the time with url operations: I
guess you could grab 1 byte of "something" and time that, but what if the
server doesn't support byte ranges? Those would get penalized pretty
badly... but hey, maybe that's for a good reason ;)
- Panu -
More information about the Yum-devel
mailing list