]> git.saurik.com Git - apt.git/commit
set failreasons similar to connect.cc based on curl errors
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 12 Oct 2015 20:26:36 +0000 (22:26 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 4 Nov 2015 17:04:01 +0000 (18:04 +0100)
commitbce8e59b81e5bdfa46501c25bc1b3fca60a69cb8
treee62bea8a73b7b8b308b7a779317c43498e33e865
parent88a9e3f832ffa9fd64a8c1a4c8a9e1b0509c06bf
set failreasons similar to connect.cc based on curl errors

Detecting network errors has some benefits in the acquire system as if
we can't connect to a host trying it for a million files is pointless.
http and co which use connect.cc deal with this, but https which uses
curl had connection failures as "normal" errors which could potentially
be worked around (like trying Release instead of the failed InRelease).

Git-Dch: Ignore
methods/https.cc