]> git.saurik.com Git - apt.git/commit - methods/http.h
Pass ExpectedSize to tthe backend method
authorMichael Vogt <mvo@debian.org>
Wed, 27 Aug 2014 02:08:37 +0000 (19:08 -0700)
committerMichael Vogt <mvo@debian.org>
Wed, 27 Aug 2014 02:08:37 +0000 (19:08 -0700)
commitdcd5856b11c685ca6d4629212d2978ce196ea65c
tree932d7934b144353010d85eff5eb76324b39554c4
parent80624be7c54aec6ed98ee254366155024fca1a71
Pass ExpectedSize to tthe backend method

This ensures that we can stop downloading if the server send
too much data by accident (or by a malicious attempt)
apt-pkg/acquire-method.cc
apt-pkg/acquire-method.h
apt-pkg/acquire-worker.cc
methods/http.cc
methods/http.h
methods/server.cc
methods/server.h