summaryrefslogtreecommitdiff
path: root/src
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 /src
parent714a1b4e4eaf7ffde5f30eccb476f59979fac44e (diff)
downloadpacman-db102c67efe9cfd4367a9110c8f97ceff5afcbe3.tar.xz
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 'src')
0 files changed, 0 insertions, 0 deletions