FS#73136 - Support proxy for ParallelDownloads
Attached to Project:
Pacman
Opened by Ian Chen (database64128) - Friday, 24 December 2021, 07:03 GMT
Last edited by Allan McRae (Allan) - Monday, 27 December 2021, 23:09 GMT
Opened by Ian Chen (database64128) - Friday, 24 December 2021, 07:03 GMT
Last edited by Allan McRae (Allan) - Monday, 27 December 2021, 23:09 GMT
|
Details
Summary and Info:
When `ParallelDownloads` is enabled, pacman does not respect proxy environment variables. Steps to Reproduce: Use GNOME Settings to set http(s) and socks proxies, or manually set `ALL_PROXY`, `HTTP_PROXY`, `HTTPS_PROXY`, `all_proxy`, `http_proxy`, `https_proxy` in shell. Set `ParallelDownloads` to a positive number. Run `pacman -Syu`. Expected Behavior: All downloads use the proxy. Actual Behavior: Only the package database synchronization phrase uses the proxy. Actual downloads do not use the proxy. |
This task depends upon
Comment by
Ian Chen (database64128) - Friday,
24 December 2021, 07:07 GMT
Note: Make sure to configure `sudo` to pass these environment
variables when reproducing.
Comment by Allan McRae (Allan) -
Friday, 24 December 2021, 07:39 GMT
Post the --debug output from an update where multiple packages are
downloaded.
Comment by
Ian Chen (database64128) - Monday,
27 December 2021, 20:37 GMT
For some reason I can no longer reproduce it myself. Not sure what
happened, but probably not a pacman bug. You can close it now.
Sorry about this :(