From: Thomas Lamprecht Date: Mon, 30 Nov 2020 14:02:29 +0000 (+0100) Subject: do not save user-agent ssl_opts in $self X-Git-Url: https://git.proxmox.com/?p=pve-apiclient.git;a=commitdiff_plain;h=935bbf68badb08c172c7a47a0cce83bd5cbc0950 do not save user-agent ssl_opts in $self one can always get it from the useragent, changing it here would not do anything anyway, so this also avoids some possible confusion. Signed-off-by: Thomas Lamprecht --- diff --git a/PVE/APIClient/LWP.pm b/PVE/APIClient/LWP.pm index 756687c..baf3a68 100755 --- a/PVE/APIClient/LWP.pm +++ b/PVE/APIClient/LWP.pm @@ -315,7 +315,6 @@ sub new { last_unknown => undef, }, register_fingerprint_cb => $param{register_fingerprint_cb}, - ssl_opts => $ssl_opts, timeout => $param{timeout} || 60, }; bless $self;