[pve-devel] [PATCH storage 1/2] download-url: reuse http_proxy from datacenter.cfg for https

Dominik Csapak d.csapak at proxmox.com
Thu Nov 25 14:34:09 CET 2021


LGTM and works :)

On 11/9/21 15:13, Oguz Bektas wrote:
> $ tail -f /var/log/squid/access.log
> ...
> 1636466926.415  42386 127.0.0.1 TCP_TUNNEL/200 557422779 CONNECT fedorapeople.org:443 - HIER_DIRECT/152.19.134.199 -
> 
> 
> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
>   PVE/API2/Storage/Status.pm | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm
> index 02c970f..8eda39e 100644
> --- a/PVE/API2/Storage/Status.pm
> +++ b/PVE/API2/Storage/Status.pm
> @@ -639,6 +639,7 @@ __PACKAGE__->register_method({
>   	    hash_required => 0,
>   	    verify_certificates => $param->{'verify-certificates'} // 1,
>   	    http_proxy => $dccfg->{http_proxy},
> +	    https_proxy => $dccfg->{http_proxy},
>   	};
>   
>   	my ($checksum, $checksum_algorithm) = $param->@{'checksum', 'checksum-algorithm'};
> 






More information about the pve-devel mailing list