diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-05-29 12:37:08 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-06-26 23:31:15 +0200 |
commit | cbbf185c3c55effe47f218a07e7b1f324973a8a6 (patch) | |
tree | 9ec40ff5439d1d3ccedb7fb143e3fd32e1348c6d /test/integration/test-bug-613420-new-garbage-dependency | |
parent | 188f297a2af4c15cb1d502360d1e478644b5b810 (diff) |
fail InRelease on non-404 HTTP errorcodes
There are very many HTTP errorcodes which indicate that the repository
isn't available at the moment or the connection has some kind of
problem. Given that we do not require Release files the result was that
these errors were ignored and the user presented with a message like
"Repository is no longer signed" which sends the user in the wrong
direction.
Instead of trying to figure out which http errorcodes indicate a global
problem we accept only 404 for ignoring and consider all the rest as
hard errors now causing us to stop instantly after the InRelease file
and print the errorcode (with short description from server) received.
Diffstat (limited to 'test/integration/test-bug-613420-new-garbage-dependency')
0 files changed, 0 insertions, 0 deletions