INN commit: trunk (CONTRIBUTORS innd/art.c)

INN Commit Russ_Allbery at isc.org
Wed Mar 18 20:22:20 UTC 2009


    Date: Wednesday, March 18, 2009 @ 13:22:20
  Author: iulius
Revision: 8388

inn_status.html was not counting rejects during TAKETHIS
(response code 439).

Modified:
  trunk/CONTRIBUTORS
  trunk/innd/art.c

--------------+
 CONTRIBUTORS |    2 +-
 innd/art.c   |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

Modified: CONTRIBUTORS
===================================================================
--- CONTRIBUTORS	2009-03-18 20:19:25 UTC (rev 8387)
+++ CONTRIBUTORS	2009-03-18 20:22:20 UTC (rev 8388)
@@ -269,4 +269,4 @@
 D. Stussy, Alan Schwartz, Shalon Wood, Nick Couchman, Jakub Bogusz,
 J. Thomas Halliley, Matija Nalis, Geraint A. Edwards, Alexander Bartolich,
 David Hlacik, Andreas Mattheiss, James Ralston, Wim Lewis, Johan van Selst,
-Wolfgang M. Weyand, Berend Reitsma, William Kronert
+Wolfgang M. Weyand, Berend Reitsma, William Kronert, Petr Novopashenniy

Modified: innd/art.c
===================================================================
--- innd/art.c	2009-03-18 20:19:25 UTC (rev 8387)
+++ innd/art.c	2009-03-18 20:22:20 UTC (rev 8388)
@@ -1141,6 +1141,12 @@
 
   cp->Rejected++;
   cp->RejectSize += cp->Next - cp->Start;
+
+  /* Streaming is used.  Increase the reject counter for TAKETHIS. */
+  if (cp->Sendid.size > 3) {
+    cp->Takethis_Err++;
+  }
+
   switch (code) {
     case REJECT_DUPLICATE:
       cp->Duplicate++;




More information about the inn-committers mailing list