bind9/lib/ns
Evan Hunt 57b4dde974 change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach
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

control channel connection objects now contain:

        - readhandle: held while waiting for a read callback
        - sendhandle: held while waiting for a send callback
        - cmdhandle:  held while an rndc command is running

httpd connections contain:

        - readhandle: held while waiting for a read callback
        - sendhandle: held while waiting for a send callback
2020-09-11 12:17:57 -07:00
..
include change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach 2020-09-11 12:17:57 -07:00
tests change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach 2020-09-11 12:17:57 -07:00
win32 restore "blackhole" functionality 2020-06-30 17:29:09 -07:00
api Update library API versions 2020-08-06 09:10:06 +02:00
client.c change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach 2020-09-11 12:17:57 -07:00
hooks.c Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
interfacemgr.c restore "blackhole" functionality 2020-06-30 17:29:09 -07:00
lib.c change "expr == false" to "!expr" in conditionals 2020-05-25 16:09:57 -07:00
listenlist.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
log.c apply the modified style 2020-02-13 15:05:06 -08:00
Makefile.am Fix "make dist" 2020-06-05 13:19:49 +02:00
notify.c change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach 2020-09-11 12:17:57 -07:00
query.c change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach 2020-09-11 12:17:57 -07:00
server.c apply the modified style 2020-02-13 15:05:06 -08:00
sortlist.c apply the modified style 2020-02-13 15:05:06 -08:00
stats.c apply the modified style 2020-02-13 15:05:06 -08:00
update.c change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach 2020-09-11 12:17:57 -07:00
xfrout.c change from isc_nmhandle_ref/unref to isc_nmhandle attach/detach 2020-09-11 12:17:57 -07:00