]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove extra copies and stray members from ns_client_t
authorOndřej Surý <ondrej@isc.org>
Wed, 23 Mar 2022 12:57:15 +0000 (13:57 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 25 Mar 2022 09:18:11 +0000 (10:18 +0100)
commit23195f18bc31c2efa4170c06863bc2e136c27a01
tree0f7108fccec343aebf2b39775ed0dc963911fcbf
parentdab22a54dfa79f08ca69eac51b56a099503088fa
Remove extra copies and stray members from ns_client_t

The ns_client_t is always attached to ns_clientmgr_t which has
associated memory context, server context, task and threadid.  Use those
directly from the ns_clientmgr_t instead of attaching it to an extra
copy in ns_client_t to make the ns_client_t more sleek and lean.

Additionally, remove some stray ns_client_t struct members that were not
used anywhere.
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/query.c
lib/ns/tests/query_test.c
lib/ns/update.c
lib/ns/xfrout.c