chiark / gitweb /
Change how addr queries track which subqueries to make.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 17 May 2014 17:52:13 +0000 (18:52 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 17 May 2014 17:52:13 +0000 (18:52 +0100)
commit27af7cd34e93dc118f6435e4328f055aca64f5de
tree962be470203393696026fba15fe46eaa870bb5c5
parent68fb0393eaa2f5b2306406a6c45057ee25a15364
Change how addr queries track which subqueries to make.

Now we have a vector of query types we might want to make, and a pair of
bitmaps tracking whether (a) we want to issue that kind of query,
and (b) whether we've had an answer to it yet.  This replaces
the (sometimes tricky) messing about with raw rrtype vectors.

As a bonus, these bitmaps are now set in the context structure, where
they can be pushed through adns__internal_submit and into qs_addr, so we
no longer need adns__qf_nosend.  This is, accordingly, killed.
src/internal.h
src/query.c
src/types.c