]> git.proxmox.com Git - pmg-api.git/commitdiff
freshclam.conf.in: remove ReceiveTimeout option
authorStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 3 Apr 2020 17:58:00 +0000 (19:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 14 Apr 2020 08:29:44 +0000 (10:29 +0200)
mirroring the changed default both in upstream [0] and debian [1].
Additionally since the upgrade to clamav 0.102.2 we had a number of reports
from users (both in forum and in our enterprise support), which noticed
that the upgrades don't work due to running into the timeout
(might be related to the use of libcurl in freshclam in 0.102.0)

absence of 'ReceiveTimeout' in freshclam.conf (5)  defaults to 0 (no timeout).

[0] https://blog.clamav.net/2020/02/clamav-01022-security-patch-released.html
[1] apt changelog clamav-freshclam (for version 0.102.2+dfsg-1)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/templates/freshclam.conf.in

index 14e857375bad13da9d5f447a80f310b5b46a47fc..b915511a2d67dc0d7614719f66c8348a8b60d4fa 100644 (file)
@@ -11,7 +11,6 @@ DatabaseDirectory /var/lib/clamav/
 PidFile /var/run/clamav/freshclam.pid
 DatabaseMirror [% pmg.clamav.dbmirror %]
 ConnectTimeout 30
-ReceiveTimeout 30
 ScriptedUpdates [% IF pmg.clamav.scriptedupdates %]true[% ELSE %]false[% END %]
 CompressLocalDatabase no
 NotifyClamd /etc/clamav/clamd.conf