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

Avoid libuv 1.35 and 1.36 that have broken recvmmsg implementation

The implementation of UDP recvmmsg in libuv 1.35 and 1.36 is
incomplete and could cause assertion failure under certain
circumstances.

Modify the configure and runtime checks to report a fatal error when
trying to compile or run with the affected versions.
This commit is contained in:
Ondřej Surý
2023-02-03 15:47:28 +01:00
committed by Michał Kępień
parent e239e97a0d
commit 251f411fc3
3 changed files with 9 additions and 9 deletions

View File

@@ -178,8 +178,6 @@ netmgr_teardown(void *arg) {
#define MINIMAL_UV_VERSION UV_VERSION(1, 40, 0)
#elif HAVE_DECL_UV_UDP_RECVMMSG
#define MINIMAL_UV_VERSION UV_VERSION(1, 37, 0)
#elif HAVE_DECL_UV_UDP_MMSG_CHUNK
#define MINIMAL_UV_VERSION UV_VERSION(1, 35, 0)
#else
#define MINIMAL_UV_VERSION UV_VERSION(1, 0, 0)
#endif