]> git.proxmox.com Git - proxmox-offline-mirror.git/commit - src/mirror.rs
mirror: use max_size everywhere
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 4 Aug 2022 13:22:37 +0000 (15:22 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 7 Sep 2022 09:16:57 +0000 (11:16 +0200)
commitd7e210ac689a45ab0b1b658601e3497e8b310b9d
tree4a4db6efebb90045b90ec576667bdab0f3670272
parent49997188b8ff5777ed3dc43a791ca9b89607c3ec
mirror: use max_size everywhere

with generous limits for the (In)Release files, and using the reference
sizes from authenticated files from then on to prevent a malicious MITM
from DOSing the mirroring client via memory exhaustion.
src/mirror.rs