clamav/clamav-0.86.2-timeout.patch
ensc f43d7660f4 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
2005-07-29 16:28:05 +00:00

12 lines
475 B
Diff

--- 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
*/