]> git.proxmox.com Git - pve-manager.git/blobdiff - PVE/APLInfo.pm
Fix problems with turnkey repository.
[pve-manager.git] / PVE / APLInfo.pm
index f4b30b116bf14f4fb2119b6602cd404a194a3901..16e60a5f66b012549f4c29138cb340174e73658d 100644 (file)
@@ -263,6 +263,9 @@ sub update {
 
     import_gpg_keys();
 
+    # ensure that always use the same socket class
+    local $ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "IO::Socket::SSL";
+
     # this code works for ftp and http
     # always use passive ftp
     local $ENV{FTP_PASSIVE} = 1;