create and use multiple fetch dispatches

Added API to create a set of UDP dispatches which can be shared
round-robin style when making upstream queries for authoritative
data; this should reduce lock contention in the query source
dispatch.
This commit is contained in:
Evan Hunt
2012-04-27 16:07:24 -07:00
parent 708850fcaa
commit 4e8fe357a6
17 changed files with 422 additions and 66 deletions

View File

@@ -85,7 +85,7 @@ make_resolver(dns_resolver_t **resolverp) {
isc_result_t result;
result = dns_resolver_create(view,
task_manager, 1,
task_manager, 1, 1,
socket_manager,
timer_manager,
0, /* unsigned int options, */