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

netmgr fixes:

- use UV_{TC,UD}P_IPV6ONLY for IPv6 sockets, keeping the pre-netmgr
   behaviour.
 - add a new listening_error bool flag which is set if the child
   listener fails to start listening. This fixes a bug where named would
   hang if, e.g.,  we failed to bind to a TCP socket.
This commit is contained in:
Evan Hunt
2020-01-10 14:25:30 -08:00
parent 67c1ca9a79
commit e38004457c
3 changed files with 19 additions and 5 deletions

View File

@@ -390,6 +390,7 @@ struct isc_nmsocket {
*/
atomic_bool closed;
atomic_bool listening;
atomic_bool listen_error;
isc_refcount_t references;
/*%