> But what if you have a mirror which legitimately has 2 hops? I could see
> someone trying to run something like:
> 
>   pacman -U https://www.archlinux.org/packages/core/x86_64/pacman/download/
> 
> This is guaranteed 1 redirect already, what if the mirror that it
> redirects to has a legitimate second hop in order to account for some
> reorganizing?
> 
> I'm fine with the spirit of the patch, but limiting this to a single hop
> isn't enough. A larger number like 10 still accomplishes the same goal
> while allowing some mirror flexibility/brokenness.

That makes sense. I will change it to 10 redirects and resubmit.

-- 
Mark Ulrich <mark.ulrich...@gmail.com>

Reply via email to