mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 20:11:12 -05:00
Attaching and detaching handle pointers will make it easier to
determine where and why reference counting errors have occurred.
A handle needs to be referenced more than once when multiple
asynchronous operations are in flight, so callers must now maintain
multiple handle pointers for each pending operation. For example,
ns_client objects now contain:
- reqhandle: held while waiting for a request callback (query,
notify, update)
- sendhandle: held while waiting for a send callback
- fetchhandle: held while waiting for a recursive fetch to
complete
- updatehandle: held while waiting for an update-forwarding
task to complete
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| testdata | ||
| Kyuafile | ||
| listenlist_test.c | ||
| Makefile.in | ||
| notify_test.c | ||
| nstest.c | ||
| nstest.h | ||
| plugin_test.c | ||
| query_test.c | ||