]> git.saurik.com Git - apt.git/commit - methods/server.h
Fix http pipeline messup detection
authorMichael Vogt <mvo@ubuntu.com>
Wed, 8 Oct 2014 06:32:42 +0000 (08:32 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Wed, 8 Oct 2014 06:32:42 +0000 (08:32 +0200)
commitf2b47ba290f3a178c584da83f007cf0f720baabb
treeea54d3dcef48843045f5b0dbebc9075b57483113
parent676700504710013d6737f79bf6ad12003d55c30d
Fix http pipeline messup detection

The Maximum-Size protection breaks the http pipeline reorder code
because it relies on that the object got fetched entirely so that
it can compare the hash of the downloaded data. So instead of
stopping when the Maximum-Size of the expected item is reached we
only stop when the maximum size of the biggest item in the queue
is reached. This way the pipeline reoder code keeps working.
methods/server.cc
methods/server.h