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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user