Author: toad
Date: 2008-02-07 14:12:07 +0000 (Thu, 07 Feb 2008)
New Revision: 17657

Modified:
   trunk/freenet/src/freenet/node/NodeClientCore.java
Log:
Fix a UID leak introduced in the ULPR code.

Modified: trunk/freenet/src/freenet/node/NodeClientCore.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeClientCore.java  2008-02-07 13:30:34 UTC 
(rev 17656)
+++ trunk/freenet/src/freenet/node/NodeClientCore.java  2008-02-07 14:12:07 UTC 
(rev 17657)
@@ -453,6 +453,7 @@
                try {
                        Object o = node.makeRequestSender(key, node.maxHTL(), 
uid, null, node.getLocation(), false, false, cache, false, offersOnly);
                        if(o instanceof CHKBlock) {
+                               node.unlockUID(uid, false, false, true, false);
                                return; // Already have it.
                        }
                        // Else it has started a request.


Reply via email to