clamav: Allow downloads to take up to 10 minutes

freshclam did not have a receive timeout set and a default of
60s was used. That causes that the large main database cannot
be downloaded over a line with a 16 MBit/s downlink.

This patch increases that timeout and should allow a successful
download on slower connections, too.

Suggested-by: Tim Fitzgeorge <ipfb@tfitzgeorge.me.uk>
Fixes: #12246
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2019-11-25 11:09:58 +00:00
committed by Arne Fitzenreiter
parent 78756496c9
commit 4775d54ba6

View File

@@ -7,6 +7,7 @@ LogSyslog yes
PidFile /var/run/clamav/freshclam.pid
DatabaseMirror database.clamav.net
ReceiveTimeout 600
ScriptedUpdates yes