Hi Matthew, Matthew White <[email protected]> writes: > Matthew White <[email protected]> > > From f9da9729d70d79ce245877672a2d611ca9c4667f Mon Sep 17 00:00:00 2001 > From: Matthew White <[email protected]> > Date: Tue, 16 Aug 2016 23:12:56 +0200 > Subject: [PATCH 06/25] Add file size computation in Metalink module > > * src/metalink.c (retrieve_from_metalink): Add file size computation > * doc/metalink.txt: Update document. Remove resolved bugs > > Reject downloaded files when they do not agree with their Metalink/XML > metalink:size: https://tools.ietf.org/html/rfc5854#section-4.2.14 > > At the moment of writing, Metalink/HTTP headers do not provide a file > size field. This information could be obtained from the Content-Length > header field: https://tools.ietf.org/html/rfc6249#section-7 > --- > doc/metalink.txt | 11 ++++------- > src/metalink.c | 35 +++++++++++++++++++++++++++++++++++ > 2 files changed, 39 insertions(+), 7 deletions(-)
ACK Giuseppe
