]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: deduplicate outbound queries
authorMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 3 Dec 2015 18:01:56 +0000 (19:01 +0100)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 3 Dec 2015 21:54:24 +0000 (22:54 +0100)
commit6addcdedbfa8eeb76ac337db07f195500bd83219
tree2a70d151efa95b92451fdc8fb8e8035806e7d104
parent6170374f28fb6e31d228fc048333fb18764945f4
daemon/worker: deduplicate outbound queries

worker can track outbound requests and if N resolutions want the same
subrequest, only one will lead it and others will be notified when it
finishes

this massively reduces number of outbound requests for
slow/unresponsive/low ttl requests
daemon/worker.c
daemon/worker.h
lib/utils.c