On Dec 19, 2007, at 1:31 PM, robert at freenetproject.org 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20071220/6d3b6273/attachment.html>