diff options
author | Julian Andres Klode <jak@debian.org> | 2017-06-30 11:02:54 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-06-30 20:09:00 +0200 |
commit | 0c0d5c29fdc044ffe3f088f982c17d316b6a25c5 (patch) | |
tree | 9e89069618e0069757b437a42278a8656b2abe3f /apt-pkg/orderlist.cc | |
parent | 9a9bbe00ffe021fe82ea35fbe65af91b039396fe (diff) |
Reset failure reason when connection was successful
When APT was trying multiple addresses, any later error
somewhere else would be reported with ConnectionRefused
or ConnectionTimedOut as the FailReason because that
was set by early connect attempts. This causes APT to
handle the failures differently, leading to some weirdly
breaking test cases (like the changed one).
Add debugging to the previously failing test case so
we can find out when something goes wrong there again.
(cherry picked from commit d3a70c3e5ae68a0e5a3d4667dd1d0fc0887e6263)
Diffstat (limited to 'apt-pkg/orderlist.cc')
0 files changed, 0 insertions, 0 deletions