]> git.ipfire.org Git - thirdparty/bind9.git/commit
make isc_nmsocket_{attach,detach}{} functions private
authorEvan Hunt <each@isc.org>
Thu, 4 Jun 2020 21:54:36 +0000 (14:54 -0700)
committerOndřej Surý <ondrej@isc.org>
Thu, 1 Oct 2020 14:44:43 +0000 (16:44 +0200)
commit573bcdf93204b6f5abbb48a4a8b6649ca135e5b2
treee370543781c077a4b0d9f38e33b6a0398b139377
parent826ddb246e9b38bb0b212b7a37c37aa178ff0c32
make isc_nmsocket_{attach,detach}{} functions private

there is no need for a caller to reference-count socket objects.
they need tto be able tto close listener sockets (i.e., those
returned by isc_nm_listen{udp,tcp,tcpdns}), and an isc_nmsocket_close()
function has been added for that. other sockets are only accessed via
handles.

(cherry picked from commit 9e740cad21972194c063f9e471a7ba7d910ee01f)
lib/isc/include/isc/netmgr.h
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/udp.c
lib/isc/win32/libisc.def.in
lib/ns/interfacemgr.c