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

Add runtime detection of SO_REUSEPORT, use it instead of dup() if available.

This commit is contained in:
Witold Kręcicki
2018-08-23 09:42:30 +02:00
parent 89b1817211
commit bd024eee57
5 changed files with 56 additions and 4 deletions

View File

@@ -3691,6 +3691,11 @@ isc_socket_socketevent(isc_mem_t *mctx, void *sender,
return (allocate_socketevent(mctx, sender, eventtype, action, arg));
}
bool
isc_socket_hasreuseport() {
return (false);
}
#ifdef HAVE_LIBXML2
static const char *