]> git.proxmox.com Git - pve-apiclient.git/commitdiff
do not save user-agent ssl_opts in $self
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 30 Nov 2020 14:02:29 +0000 (15:02 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 30 Nov 2020 14:27:22 +0000 (15:27 +0100)
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 <t.lamprecht@proxmox.com>
PVE/APIClient/LWP.pm

index 756687cd1227c5364b4fe9644cd035383aecd931..baf3a680694b0291bb9b00dbc6d9e32584bce0cd 100755 (executable)
@@ -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;