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

Modified Files:
        Pending.java 
Log Message:
6191:
Correct counting of SendFinished's for RNFs - if it's a failure, it's unreachable, if 
it's a timeout, it's "restarted".
Bugfixes to profiling counts of ConnectionHandler occurrences
Pool ConnectionHandler accumulators too to avoid expensive allocations and object churn
Include size of tcpConnection and ConnectionHandler buffer pools in interesting 
objects dump
Logging


Index: Pending.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/request/Pending.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- Pending.java        11 Sep 2003 01:17:15 -0000      1.59
+++ Pending.java        11 Sep 2003 15:32:42 -0000      1.60
@@ -672,9 +672,9 @@
                    outwardConnLastUsed = null;
                    // Timed out?
                    routes.searchFailed(System.currentTimeMillis());
-                   ++unreachable; // Sort of
+                   ++restarted; // it did time out
                } else if(e instanceof CommunicationException) {
-                   ++unreachable;
+                   ++unreachable; // we restarted because of an actual I/O error
                    // don't care if it's terminal or nonterminal
                    // because routing is too time-critical
                    

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

Reply via email to