gestione assets

This commit is contained in:
mariano
2026-05-22 08:29:59 +02:00
parent f7c1ab8aa4
commit 13cb325576
11 changed files with 391 additions and 627 deletions
+4 -1
View File
@@ -27,7 +27,9 @@ class UrbackupApiClient
private bool $ignore_ssl;
private int $timeout = 10;
private int $timeout = 30;
private int $connect_timeout = 5;
private string $session = '';
@@ -667,6 +669,7 @@ class UrbackupApiClient
$options = [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => $this->timeout,
CURLOPT_CONNECTTIMEOUT => $this->connect_timeout,
CURLOPT_SSL_VERIFYPEER => !$this->ignore_ssl,
CURLOPT_SSL_VERIFYHOST => $this->ignore_ssl ? 0 : 2,
CURLOPT_HTTPHEADER => [