bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wget2 downloaded GIMP v2.10's DMG twice when original wget didn't.


From: Tim Rühsen
Subject: Re: Wget2 downloaded GIMP v2.10's DMG twice when original wget didn't.
Date: Sun, 22 Jan 2023 11:37:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

On 20.01.23 21:58, Ant wrote:
Hello,

I reproduced it in both updated 64-bit Debian bullseye and Fedora v37 PCs:
Here's an example from my 14 yrs. old Debian PC:

$ wget2 https://download.gimp.org/gimp/v2.10/macos/gimp-2.10.32-1-x86_64.dmg
[0] Downloading 
'https://download.gimp.org/gimp/v2.10/macos/gimp-2.10.32-1-x86_64.dmg' ...
HTTP response 302  
[https://download.gimp.org/gimp/v2.10/macos/gimp-2.10.32-1-x86_64.dmg]
Adding URL: 
https://mirror.fcix.net/gimp/gimp/v2.10/osx/gimp-2.10.32-1-x86_64.dmg
Adding URL: 
https://opencolo.mm.fcix.net/gimp/gimp/v2.10/osx/gimp-2.10.32-1-x86_64.dmg
[0] Downloading 
'https://opencolo.mm.fcix.net/gimp/gimp/v2.10/osx/gimp-2.10.32-1-x86_64.dmg' ...
[1] Downloading 
'https://mirror.fcix.net/gimp/gimp/v2.10/osx/gimp-2.10.32-1-x86_64.dmg' ...
Saving 'gimp-2.10.32-1-x86_64.dmg'
Saving 'gimp-2.10.32-1-x86_64.dmg.1'
HTTP response 200 OK 
[https://mirror.fcix.net/gimp/gimp/v2.10/osx/gimp-2.10.32-1-x86_64.dmg]
HTTP response 200 OK 
[https://opencolo.mm.fcix.net/gimp/gimp/v2.10/osx/gimp-2.10.32-1-x86_64.dmg]

Thank you for reading and hopefully answering soon. :)

Thank you for the report.
It is reproducible for me.

The reason for this issue is that additional 'Link' HTTP response headers trigger the metalink detection, which in turn (additionally) downloads the highest priority rel=duplicate link URL.

To workaround the issue, disable metalink detection with `--no-metalink`.

I'll as well amend the logic in wget2 to fix the issue.

Regards, Tim

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]