Author: toad
Date: 2005-12-05 20:44:06 +0000 (Mon, 05 Dec 2005)
New Revision: 7674
Modified:
trunk/freenet/src/freenet/node/InsertHandler.java
trunk/freenet/src/freenet/node/Version.java
Log:
274: (mandatory)
If we get an insert with HTL=0, then return InsertReply as soon as we get the
DataInsert!
We didn't do this!
Modified: trunk/freenet/src/freenet/node/InsertHandler.java
===================================================================
--- trunk/freenet/src/freenet/node/InsertHandler.java 2005-12-05 19:52:58 UTC
(rev 7673)
+++ trunk/freenet/src/freenet/node/InsertHandler.java 2005-12-05 20:44:06 UTC
(rev 7674)
@@ -121,6 +121,9 @@
if(htl == 0) {
canCommit = true;
+ msg = DMT.createFNPInsertReply(uid);
+ sentSuccess = true;
+ source.send(msg);
finish();
return;
}
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2005-12-05 19:52:58 UTC (rev
7673)
+++ trunk/freenet/src/freenet/node/Version.java 2005-12-05 20:44:06 UTC (rev
7674)
@@ -20,10 +20,10 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- public static final int buildNumber = 273;
+ public static final int buildNumber = 274;
/** Oldest build of Fred we will talk to */
- public static final int lastGoodBuild = 273;
+ public static final int lastGoodBuild = 274;
/** The highest reported build of fred */
public static int highestSeenBuild = buildNumber;