Author: toad
Date: 2008-02-07 18:44:20 +0000 (Thu, 07 Feb 2008)
New Revision: 17672
Modified:
trunk/freenet/src/freenet/node/FailureTable.java
Log:
Unlock while accessing the FTE
Modified: trunk/freenet/src/freenet/node/FailureTable.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTable.java 2008-02-07 18:41:56 UTC
(rev 17671)
+++ trunk/freenet/src/freenet/node/FailureTable.java 2008-02-07 18:44:20 UTC
(rev 17672)
@@ -256,7 +256,7 @@
if(logMINOR) Logger.minor(this, "We didn't ask
for the key");
return; // we haven't asked for it
}
-
+ }
/*
* Accept (subject to later checks) if we asked for it.
* Should we accept it if we were asked for it? This is
"bidirectional propagation".
@@ -299,6 +299,8 @@
// Add to offers list
+ synchronized(this) {
+
if(logMINOR) Logger.minor(this, "Valid offer");
BlockOfferList bl = (BlockOfferList)
blockOfferListByKey.get(key);
BlockOffer offer = new BlockOffer(peer, now,
authenticator, peer.getBootID());