]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - src/pakfire/lib/functions.pl
pakfire: Don't give up mirror search on status code 500
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Aug 2023 09:42:23 +0000 (09:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Aug 2023 09:44:38 +0000 (09:44 +0000)
commitd45c4768f957404167da3595b5663858e9b63dde
tree2a6a2aaf814a5d73f6fcdcb8c8949d7536cf86cf
parent84d0ccd6bcefd5db00a07e1d533ce0d15663656f
pakfire: Don't give up mirror search on status code 500

The WWW library seems to report status code 500 for issues like DNS
resolving problems and connection timeouts. In that case, we won't go on
searching for another functioning mirror, which we should.

This patch removes that special break clause.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/180/filelists/files
src/pakfire/lib/functions.pl