Skip to content

find peer early exit #678

@whyrusleeping

Description

@whyrusleeping

FindPeer may fail to find all addresses associated with a peer, if the first respondee to the query does not have all addresses.

Example:

A FindPeer(X) -> {B, C}

B replies: {X : [127.0.0.1:4001]}
A ends find peer
C replies {X : [76.45.35.75:4001]} and is ignored since A ended the query

I will address this soon, just wanted to file a bug so i remember.

Metadata

Metadata

Assignees

Labels

kind/bugA bug in existing code (including security flaws)topic/dhtTopic dht

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions