]> git.mxchange.org Git - quix0rs-apt-p2p.git/commitdiff
Fix some bugs in the pinging and ID checking.
authorCameron Dale <camrdale@gmail.com>
Thu, 20 Mar 2008 22:09:29 +0000 (15:09 -0700)
committerCameron Dale <camrdale@gmail.com>
Thu, 20 Mar 2008 22:09:29 +0000 (15:09 -0700)
Raise an exception if the node's ID has changed. This means the node's
returned results will be ignored.

The KTable replaceStaleNode now adds the new node if there's space even
if the old one isn't found. This is due to the node ID having changed
resulting in instantly removing the node from the routing table.

The handler for the ping result in insertNode was mistakenly taking the
Failure returned as a result as a node and passing it to replaceStaleNode.


No differences found