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

Add isc__nm_udp_shutdown() function

This function will be called during isc_nm_closedown() to ensure
that all UDP sockets are closed and detached.
This commit is contained in:
Ondřej Surý
2020-10-26 12:30:54 +01:00
committed by Ondřej Surý
parent 5dcdc00b93
commit 7a6056bc8f
3 changed files with 69 additions and 21 deletions

View File

@@ -1615,6 +1615,9 @@ shutdown_walk_cb(uv_handle_t *handle, void *arg) {
UNUSED(arg);
switch (handle->type) {
case UV_UDP:
isc__nm_udp_shutdown(uv_handle_get_data(handle));
break;
case UV_TCP:
isc__nm_tcp_shutdown(uv_handle_get_data(handle));
break;