this patch reverts the change of the default child_timeout value; it was

set to 5 minutes in 0.86.2 which conflicts with the internal mode where
    a timeout must not be set. So, the clamav-milter would not run with the
    default configuration
This commit is contained in:
ensc 2005-07-29 16:28:05 +00:00
parent 4c5e9e7ce3
commit fcb173893d
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- clamav-0.86.2/clamav-milter/clamav-milter.c.timeout
+++ clamav-0.86.2/clamav-milter/clamav-milter.c
@@ -373,7 +373,7 @@
static pthread_cond_t n_children_cond = PTHREAD_COND_INITIALIZER;
static volatile unsigned int n_children = 0;
static unsigned int max_children = 0;
-static int child_timeout = 300; /* number of seconds to wait for
+static int child_timeout = 0; /* number of seconds to wait for
* a child to die. Set to 0 to
* wait forever
*/