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

Modified Files:
        ReceivingInsert.java 
Log Message:
6222: some major bugfixes, and logging. Probably introduces some major bugs too, but 
probably not as major as the ones it eliminates. Will work more on this tomorrow!


Index: ReceivingInsert.java
===================================================================
RCS file: 
/cvsroot/freenet/freenet/src/freenet/node/states/request/ReceivingInsert.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ReceivingInsert.java        6 Oct 2003 15:20:18 -0000       1.22
+++ ReceivingInsert.java        7 Oct 2003 00:47:30 -0000       1.23
@@ -74,10 +74,13 @@
                    length = searchKey.
                        getTransmissionLength(length, 
                                              searchKey.getPartSize(length));
+                   // Get where we would have routed to
                    Routing r = n.rt.route(searchKey, hopsToLive,
                                           length, false, true);
                     ft.storeData(n, r.getNextRoute(), -1, 0, null);
-                   terminateRouting(false, false); // duh
+                   // Terminate the routing involved
+                   r.terminate(false, false);
+                   
                    // We are the terminal node; we cache it
                    if (origPeer != null)
                    {

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

Reply via email to