Author: toad
Date: 2008-09-23 16:33:06 +0000 (Tue, 23 Sep 2008)
New Revision: 22770
Modified:
trunk/freenet/src/freenet/node/FailureTable.java
Log:
Unlock the UID when trying to send an offer reply and the node disconnects.
May fix #2582.
Modified: trunk/freenet/src/freenet/node/FailureTable.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTable.java 2008-09-23 15:11:41 UTC
(rev 22769)
+++ trunk/freenet/src/freenet/node/FailureTable.java 2008-09-23 16:33:06 UTC
(rev 22770)
@@ -386,6 +386,7 @@
try {
innerSendOfferedKey(key, isSSK,
needPubKey, uid, source);
} catch (NotConnectedException e) {
+ node.unlockUID(uid, isSSK, false,
false, true, false);
// Too bad.
}
}