Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2022-09-05 17:07:53 +0300
committerGitHub <noreply@github.com>2022-09-05 17:07:53 +0300
commit1f0955663517298a7c4f25777852a2e32ab550d9 (patch)
treebcb016f1c14ce2e92ccf35aa1c1bf0cca1973d72
parent4343c083a4bff9501154378ea08ed6f749192a0c (diff)
parent9ad0fbf1e20c41a9693192e915cf2165d69074b2 (diff)
Merge pull request #242 from nextcloud/fix/scan-timeout-string
Fix type of scan timeout
-rw-r--r--lib/Scanner/ExternalKaspersky.php2
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,