diff options
author | Julian Andres Klode <jak@debian.org> | 2018-05-24 13:54:27 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2018-05-24 13:54:27 +0000 |
commit | 9b0319db37c97cfb2a018b6af97019efba4562ab (patch) | |
tree | 4dd7778d05b65b30f5c9d0c5d8dc142f7d9926ba /methods/connect.cc | |
parent | 6eaeec549241677335813af78f394010e5b3eefb (diff) | |
parent | 329a4a6159f1972ff5ec7bc2db26430f26dc61f3 (diff) |
Merge branch 'pu/timeout-bad-addr-fixes' into 'master'
Pu/timeout bad addr fixes
See merge request apt-team/apt!18
Diffstat (limited to 'methods/connect.cc')
-rw-r--r-- | methods/connect.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/connect.cc b/methods/connect.cc index d4e4303b3..e5d17a2f5 100644 --- a/methods/connect.cc +++ b/methods/connect.cc @@ -307,6 +307,7 @@ static ResultState WaitAndCheckErrors(std::list<Connection> &Conns, std::unique_ for (auto &Conn : Conns) { Conn.Owner->SetFailReason("Timeout"); + bad_addr.insert(bad_addr.begin(), Conn.Name); _error->Error(_("Could not connect to %s:%s (%s), " "connection timed out"), Conn.Host.c_str(), Conn.Service, Conn.Name); |