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

Modified Files:
        Pending.java SendFinished.java 
Log Message:
6183:
Give the initial Identify message a decent priority: 1 better than NEGOTIATION. They 
are important.
Count timed-out-in-send nodes as unreachable in RNF message.
Logging.


Index: Pending.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/request/Pending.java,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- Pending.java        6 Sep 2003 01:50:31 -0000       1.57
+++ Pending.java        9 Sep 2003 01:29:01 -0000       1.58
@@ -665,6 +665,7 @@
                if(e == null) {
                    // Timed out?
                    routes.searchFailed(System.currentTimeMillis());
+                   ++unreachable; // Sort of
                } else if(e instanceof CommunicationException) {
                    ++unreachable;
                    // don't care if it's terminal or nonterminal

Index: SendFinished.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/request/SendFinished.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SendFinished.java   8 Sep 2003 17:03:04 -0000       1.5
+++ SendFinished.java   9 Sep 2003 01:29:02 -0000       1.6
@@ -80,7 +80,7 @@
        if(e instanceof CommunicationException) {
            CommunicationException ce = (CommunicationException)e;
            n.logger.log(this,
-                        "Failed to send back to peer " +ce.peer+
+                        "Failed to send to peer " +ce.peer+
                         " ("+this+")", e, Logger.MINOR);
        } else {
            n.logger.log(this, "Unexpected exception sending for "+

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

Reply via email to