From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH] clamav: Allow downloads to take up to 10 minutes Date: Mon, 25 Nov 2019 21:10:00 +0000 Message-ID: <7fc5d4a8-ce7c-ed05-2df2-1f1d78963e26@ipfire.org> In-Reply-To: <20191125110958.14984-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3875105359368287324==" List-Id: --===============3875105359368287324== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Reviewed-by: Peter Müller > 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 > Fixes: #12246 > Signed-off-by: Michael Tremer > --- > config/clamav/freshclam.conf | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/config/clamav/freshclam.conf b/config/clamav/freshclam.conf > index d4131e574..28be8fec1 100644 > --- a/config/clamav/freshclam.conf > +++ b/config/clamav/freshclam.conf > @@ -7,6 +7,7 @@ LogSyslog yes > PidFile /var/run/clamav/freshclam.pid > > DatabaseMirror database.clamav.net > +ReceiveTimeout 600 > > ScriptedUpdates yes > > --===============3875105359368287324==--