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

Modified Files:
        NewRequest.java 
Log Message:
6266:
FORK UNSTABLE NETWORK. Protocol version increases to 1.47. The purpose of this: it is 
likely that NGRouting and CPAlgoRT are not really compatible in their present 
implementations. Hopefully we can get a decent sized test network together.

Minor changes:
Don't reference old nodes in the RT. Take them out if they are serialized in. Add a 
means of checking whether it is old for purposes of routing to or for purposes of 
accepting requests from it.
Try to keep the references on the RT up to date.
Detect Opera as well as IE.
Minor fix in TimeEstimator.drawGraphBMP()
Added diagnostic requestDataNotFound.
Fix load %.
Fix CHK for README in dist servlet.
Minor UI tweak to General infolet.
Minor graphical change (add a stretched graph per estimator) to per node pages linked 
from Node Reference Status.


Index: NewRequest.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/FNP/NewRequest.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -w -r1.35 -r1.36
--- NewRequest.java     22 Oct 2003 10:45:59 -0000      1.35
+++ NewRequest.java     22 Oct 2003 22:07:16 -0000      1.36
@@ -36,10 +36,16 @@
        long startTime = System.currentTimeMillis();
        boolean shouldLog = Core.logger.shouldLog(Core.logger.DEBUG);
        
-       origRec = n.getPeer(mo.getSource());
+       NodeReference ref = mo.getSource();
+       
+       n.connections.updateReference(ref);
+       
+       n.rt.updateReference(ref);
+       
+       origRec = n.getPeer(ref);
        
        PeerHandler ph = 
-           n.connections.makePeerHandler(origRec.getIdentity(), mo.getSource());
+           n.connections.makePeerHandler(origRec.getIdentity(), ref);
        
        long time1 = System.currentTimeMillis();
        

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

Reply via email to