From 935bbf68badb08c172c7a47a0cce83bd5cbc0950 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 30 Nov 2020 15:02:29 +0100 Subject: [PATCH] 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 --- PVE/APIClient/LWP.pm | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.2