Skip to content

Commit

Permalink
send scan timeout as string
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Aug 3, 2022
1 parent e504ad6 commit 0494a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Scanner/ExternalKaspersky.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function scanBuffer(): void {
$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,
Expand Down

0 comments on commit 0494a0d

Please sign in to comment.