by jaf656s » April 13, 2005, 5:41 pm
In this case there is nothing else to do but not return a peer.
We have updated the specification to include this case. The solution is to respond with an empty PEER message which is as follows:
PEER
*
This message will validate the RQST or JOIN message, but also indicate that that client has no peers to share.
As for the NEIGHBOR message,
E) Prune responses are generated whenever a prune message is received.
As described in section D, prune messages include a list of all of
the connected peers.
Since the client must have been connected, at least, to the peer that issued the PRUNE message, then there will never be an empty set of peers to draw a NEIGHBOR set.
Jason and Kirk
In this case there is nothing else to do but not return a peer.
We have updated the specification to include this case. The solution is to respond with an empty PEER message which is as follows:
PEER
*
This message will validate the RQST or JOIN message, but also indicate that that client has no peers to share.
As for the NEIGHBOR message,
[quote] E) Prune responses are generated whenever a prune message is received.
As described in section D, prune messages include a list of [b]all of
the connected peers[/b].[/quote]
Since the client must have been connected, at least, to the peer that issued the PRUNE message, then there will never be an empty set of peers to draw a NEIGHBOR set.
Jason and Kirk