[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Metalink ignores -O (#685)
From: |
@rockdaboot |
Subject: |
Re: wget2 | Metalink ignores -O (#685) |
Date: |
Sun, 08 Dec 2024 18:40:14 +0000 |
Tim Rühsen commented:
https://gitlab.com/gnuwget/wget2/-/issues/685#note_2247287708
Thank you for the report.
-O has been fixed similar to what you suggested, but at a different place.
The sorting of metalink mirrors by priority is fixed.
The .meta4 file should contain the relevant mirrors for you with highest
priority (low number = high priority). You got mirrors in `gb`, here from
Germany I get top mirrors in `de`.
So that should "automagically" work for everyone in the world (the magic is
done on the server side by sniffing your country).
I pushed the fixes to master.
There is one corner case, that I ignored so far: `-O-` just doesn't work with
metalink. Ideally, with that option, metalink should be turned off
automatically. But as long as nobody complains, I leave it as is :smile:
In general, metalink is rarely seen in the wild. E.g. curl removed metalink
support for this reason.
We *could* do parallel connects and requests for each chunk (needs some changes
in code), but currently, I won't put too much time into it (time is a sparse
resource for me).
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/685#note_2247287708
You're receiving this email because of your account on gitlab.com.
- Re: wget2 | Metalink ignores -O (#685),
@rockdaboot <=