Update of /cvsroot/freenet/freenet/src/freenet/node/states/request
In directory sc8-pr-cvs1:/tmp/cvs-serv10464/src/freenet/node/states/request

Modified Files:
        DataPending.java 
Log Message:
Implement secondary failure table. If a request comes in that has failed twice, and 
the highest fail HTL is >= the request HTL, set a flag on it to ignore DNF; the result 
of this is that the estimators are not told about the DNF, and the stats get it as a 
non-routing-related failure.

Index: DataPending.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/request/DataPending.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -w -r1.24 -r1.25
--- DataPending.java    1 Nov 2003 22:05:36 -0000       1.24
+++ DataPending.java    1 Nov 2003 22:35:34 -0000       1.25
@@ -168,6 +168,8 @@
            
             throw new RequestAbortException(new RequestDone(this));
         }
+        if(n.ft.statsShouldIgnoreDNF(searchKey, hopsToLive))
+               routes.setShouldIgnoreDNF();
     }
     
     private final void dataNotFound(Node n) {

_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to