summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-query.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-24 23:15:51 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-24 23:15:51 +0200
commitda0c630e141e3c3fab633a1c7a0686295e2c9411 (patch)
tree46690b50506c9b2ce410b7e28083138663beeac5 /src/resolve/resolved-dns-query.c
parent53496ca9adc383bd8aa28e8f75f1b21c2cc82b05 (diff)
resolved: replace transaction list by hashmap
Right now we keep track of ongoing transactions in a linked listed for each scope. Replace this by a hashmap that is indexed by the RR key. Given that all ongoing transactions will be placed in pretty much the same scopes usually this should optimize behaviour. We used to require a list here, since we wanted to do "superset" query checks, but this became obsolete since transactions are now single-key instead of multi-key.
Diffstat (limited to 'src/resolve/resolved-dns-query.c')
0 files changed, 0 insertions, 0 deletions