Author: toad
Date: 2007-12-06 02:01:28 +0000 (Thu, 06 Dec 2007)
New Revision: 16355

Modified:
   trunk/freenet/src/freenet/node/NodeDispatcher.java
Log:
Looping may have been possible here

Modified: trunk/freenet/src/freenet/node/NodeDispatcher.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeDispatcher.java  2007-12-06 01:55:35 UTC 
(rev 16354)
+++ trunk/freenet/src/freenet/node/NodeDispatcher.java  2007-12-06 02:01:28 UTC 
(rev 16355)
@@ -298,9 +298,11 @@
                        return true;
                }
                boolean success = false;
+               // No way to check whether it's actually running atm, so lets 
report it to the completed list immediately.
+               // FIXME we should probably keep a list!
+               node.completed(uid);
                try {
                        if(!source.shouldAcceptAnnounce(uid)) {
-                               node.completed(uid);
                                Message msg = 
DMT.createFNPRejectedOverload(uid, true);
                                try {
                                        source.sendAsync(msg, null, 0, null);


Reply via email to