this silences a spurious warning from clang-scan 19.
csock->fd = isc__nm_tcp_lb_socket(mgr,
iface->type.sa.sa_family);
} else {
+ INSIST(fd >= 0);
csock->fd = dup(fd);
}
- REQUIRE(csock->fd >= 0);
+ INSIST(csock->fd >= 0);
ievent = isc__nm_get_netievent_tcplisten(mgr, csock);
isc__nm_maybe_enqueue_ievent(&mgr->workers[tid],
csock->fd = isc__nm_tcpdns_lb_socket(mgr,
iface->type.sa.sa_family);
} else {
+ INSIST(fd >= 0);
csock->fd = dup(fd);
}
- REQUIRE(csock->fd >= 0);
+ INSIST(csock->fd >= 0);
ievent = isc__nm_get_netievent_tcpdnslisten(mgr, csock);
isc__nm_maybe_enqueue_ievent(&mgr->workers[tid],
csock->fd = isc__nm_tlsdns_lb_socket(mgr,
iface->type.sa.sa_family);
} else {
+ INSIST(fd >= 0);
csock->fd = dup(fd);
}
- REQUIRE(csock->fd >= 0);
+ INSIST(csock->fd >= 0);
ievent = isc__nm_get_netievent_tlsdnslisten(mgr, csock);
isc__nm_maybe_enqueue_ievent(&mgr->workers[tid],
csock->fd = isc__nm_udp_lb_socket(mgr,
iface->type.sa.sa_family);
} else {
+ INSIST(fd >= 0);
csock->fd = dup(fd);
}
- REQUIRE(csock->fd >= 0);
+ INSIST(csock->fd >= 0);
ievent = isc__nm_get_netievent_udplisten(mgr, csock);
isc__nm_maybe_enqueue_ievent(&mgr->workers[tid],