From 9ab6c3a5b17f462309c46b0e3ec8ba67b2d631f6 Mon Sep 17 00:00:00 2001 From: Artem Boldariev Date: Tue, 16 May 2023 18:44:04 +0300 Subject: [PATCH] Make sockstop netievent a high-priority one Seemingly by omission, sockstop netievent used by multi-layer sockets was not a high priority event, like it should be (similarly to other socket types). In particular, that could make BIND stuck on reconfiguration after a DoH-listener is removed from the configuration. This commit fixes that. --- lib/isc/netmgr/netmgr-int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/netmgr/netmgr-int.h b/lib/isc/netmgr/netmgr-int.h index 50528af480..6e233e20fb 100644 --- a/lib/isc/netmgr/netmgr-int.h +++ b/lib/isc/netmgr/netmgr-int.h @@ -333,7 +333,6 @@ typedef enum isc__netievent_type { netievent_privilegedtask, netievent_settlsctx, - netievent_sockstop, /* for multilayer sockets */ /* * event type values higher than this will be treated @@ -350,6 +349,7 @@ typedef enum isc__netievent_type { netievent_tcpdnsstop, netievent_tlsdnslisten, netievent_tlsdnsstop, + netievent_sockstop, /* for multilayer sockets */ netievent_resume, netievent_detach,