[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Improve download continuation (-c / --continue) (#580)
From: |
@rockdaboot |
Subject: |
Re: wget2 | Improve download continuation (-c / --continue) (#580) |
Date: |
Sun, 23 Jan 2022 18:30:49 +0000 |
Tim Rühsen commented:
Side note:
There is a small quirk in the -c / --continue implementation. It was introduced
in commit e0b1a6b02e and loads the first part of the file into memory (always,
but just up to 10MB in size).
This data is only used if the Content-Type needs to be parsed (text/html),
where 10MB is an upper limit to avoid DOS attacks. But if the Content-Type
doesn't need to be parsed, we don't want to load the data at all.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/580#note_818866912
You're receiving this email because of your account on gitlab.com.