On 11/20/22 at 07:19pm, Brian Geffon wrote:
On Sun, Nov 20, 2022 at 7:09 PM Andrew Gregory <andrew.gregory.8@gmail.com> wrote:
On 11/20/22 at 06:43pm, Brian Geffon wrote:
Currently the only way to use a proxy is via XferCommand; however,
Not true; from man CURLOPT_PROXY:
I apologize, I stand corrected. Happy to reword the commit message to state that this allows the proxy to be configured at a system level. Otherwise I'm also happy to just withdraw the patch if that doesn't seem useful.
Given that a proxy is one of the few ways to influence the download process that doesn't involve us adding dozens of knobs to the downloader, I'm not necessarily opposed to adding it as an explicitly supported option (but I haven't actually reviewed this patch yet). I am curious how much utility this actually has though. I don't think I've ever actually heard from a user needing to set a proxy specifically for pacman before so, to the best of my knowledge, this is a pretty niche use case.