On Dec 19, 2007, at 1:31 PM, [EMAIL PROTECTED] wrote:
this.pn = pn;bt = new BlockTransmitter(node.usm, pn, uid, prb, node.outputThrottle, CHKInsertSender.this);@@ -56,7 +59,13 @@ try { bt.send(node.executor); this.completedTransfer(bt.failedDueToOverload()); - this.receivedNotice(waitForReceivedNotification(this)); + if (pn.isRoutable() && transferSucceeded) { [...] + node.usm.addAsyncFilter(getNotificationMessageFilter(), this); + } else { + this.receivedNotice(false); + } } catch (Throwable t) { this.completedTransfer(false); this.receivedNotice(false); @@ -64,10 +73,11 @@ }
Should this really be isRoutable() (as originally), or isConnected()? -- Robert Hailey
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
