diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-08-10 12:23:46 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-08-10 12:23:46 +0300 |
commit | 9ad0fbf1e20c41a9693192e915cf2165d69074b2 (patch) | |
tree | 3c3b3dcf1b473ecad95783fd24df83af2c13ed6d | |
parent | a68f03667296c55d5b5b556975f056d31f8dabd1 (diff) |
Fix type of scan timeoutfix/scan-timeout-string
int -> string
https://support.kaspersky.com/ScanEngine/2.1/en-US/193000.htm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r-- | lib/Scanner/ExternalKaspersky.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Scanner/ExternalKaspersky.php b/lib/Scanner/ExternalKaspersky.php index f7c2487..878bc9b 100644 --- a/lib/Scanner/ExternalKaspersky.php +++ b/lib/Scanner/ExternalKaspersky.php @@ -81,7 +81,7 @@ class ExternalKaspersky extends ScannerBase { $body = base64_encode($body); $response = $this->clientService->newClient()->post("$avHost:$avPort/api/v3.0/scanmemory", [ 'json' => [ - 'timeout' => 60000, + 'timeout' => "60000", 'object' => $body, ], 'connect_timeout' => 5, |