internal SITEreader

Marco d'Itri md at Linux.IT
Fri Jan 31 14:01:38 UTC 2003


At least please apply something like this to limit the flooding:

--- inn2-2.3.999+20030125.orig/innd/site.c
+++ inn2-2.3.999+20030125/innd/site.c
@@ -11,6 +11,7 @@
 #include "innd.h"
 
 
+static int     SITEreadererr = 0;
 static int     SITEcount;
 static int     SITEhead = NOSITE;
 static int     SITEtail = NOSITE;
@@ -23,6 +24,9 @@
 static void
 SITEreader(CHANNEL *cp)
 {
+    if (SITEreadererr > 100)
+       return;
+    SITEreadererr++;
     syslog(L_ERROR, "%s internal SITEreader: %s", LogName,
CHANname(cp));
 }
 
-- 
ciao,
Marco


More information about the inn-workers mailing list