2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Use isc_job_run() for reading from StreamDNS socket

Change the reading in the StreamDNS code to use isc_job_run() instead of
using isc_async_run() for less allocations and more streamlined
execution.
This commit is contained in:
Ondřej Surý
2023-04-10 07:16:45 +02:00
parent 74cbf523b3
commit 3adba8ce23
3 changed files with 4 additions and 1 deletions

View File

@@ -706,6 +706,7 @@ isc___nmsocket_init(isc_nmsocket_t *sock, isc__networker_t *worker,
.active_handles = ISC_LIST_INITIALIZER,
.active_link = ISC_LINK_INITIALIZER,
.active = true,
.job = ISC_JOB_INITIALIZER,
};
if (iface != NULL) {