21 Nov
2022
21 Nov
'22
3:39 a.m.
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: libcurl respects the proxy environment variables named http_proxy, ftp_proxy, sftp_proxy etc. If set, libcurl will use the specified proxy for that URL scheme. So for a "FTP://" URL, the ftp_proxy is considered. all_proxy is used if no protocol specific proxy was set.
when doing so there is no support for parallel downloads. This change introduces a new directive Proxy which supports whatever proxy protocols are supported by libcurl.