Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/scripts/makepkg-template-tests/keep-old-version/templates/perl-module-1.0.template
diff options
context:
space:
mode:
authorMark Ulrich <mark.ulrich.86@gmail.com>2019-02-06 08:36:51 -0600
committerAllan McRae <allan@archlinux.org>2019-02-07 09:51:01 +1000
commitdb102c67efe9cfd4367a9110c8f97ceff5afcbe3 (patch)
treef127c62f97f1f1e8fd3dcfda205007d2383ca6fc /test/scripts/makepkg-template-tests/keep-old-version/templates/perl-module-1.0.template
parent714a1b4e4eaf7ffde5f30eccb476f59979fac44e (diff)
libalpm: prevent 301 redirect loop from hanging the process
If a mirror responds with a 301 redirect to itself, it will create an infinite redirect loop. This will cause pacman to hang, unresponsive to even a SIGINT. The result is pacman being unable to sync or download any package from a particular repo if its current mirror is stuck in a redirect loop. Setting libcurl's MAXREDIRS option effectively prevents a redirect loop from hanging the process. Signed-off-by: Mark Ulrich <mark.ulrich.86@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/scripts/makepkg-template-tests/keep-old-version/templates/perl-module-1.0.template')
0 files changed, 0 insertions, 0 deletions