mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Start moving the dispatcher code to allow it to be used for wire format as well as for lightweight resolver daemon stuff.
This commit is contained in:
@@ -593,7 +593,7 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto cleanup_query;
|
||||
result = dns_dispatch_create(res->mctx, socket, task,
|
||||
4096, 2, 1, 1, 3,
|
||||
4096, 2, 1, 1, 3, NULL,
|
||||
&query->dispatch);
|
||||
/*
|
||||
* Regardless of whether dns_dispatch_create() succeeded or
|
||||
@@ -3296,7 +3296,7 @@ dns_resolver_create(dns_view_t *view,
|
||||
}
|
||||
result = dns_dispatch_create(res->mctx, res->udpsocket4,
|
||||
res->buckets[0].task, 4096,
|
||||
1000, 32768, 16411, 16433,
|
||||
1000, 32768, 16411, 16433, NULL,
|
||||
&res->dispatch4);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto cleanup_udpsocket4;
|
||||
@@ -3318,7 +3318,7 @@ dns_resolver_create(dns_view_t *view,
|
||||
goto cleanup_dispatch4;
|
||||
result = dns_dispatch_create(res->mctx, res->udpsocket6,
|
||||
res->buckets[0].task, 4096,
|
||||
1000, 32768, 16411, 16433,
|
||||
1000, 32768, 16411, 16433, NULL,
|
||||
&res->dispatch6);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
goto cleanup_udpsocket6;
|
||||
|
Reference in New Issue
Block a user