chiark / gitweb /
peerdb/tripe-newpeers.in: Don't start duplicate resolver queries.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 19 Jul 2014 16:22:37 +0000 (17:22 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 19 Jul 2014 16:22:37 +0000 (17:22 +0100)
commitd8310a3a69671d7aeb6ea351a1f931f24a559a42
tree3c86c30ee425542a12c299b5013b0b39ac25d7bc
parentcd1f331085c70b1cb4ee4212ea0eda167ffdd63a
peerdb/tripe-newpeers.in: Don't start duplicate resolver queries.

Resolver queries are indexed by query domain name.  Previously, if we
find another place which wants the same name resolved, we'd overwrite
the existing query with the new one, which causes the old one to be
cancelled (despite it possibly having made progress).

(This also avoids tickling a bug in mLib's handling of aborted queries,
fixed separately.)
peerdb/tripe-newpeers.in