mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-17 20:22:54 -05:00
Newer mingw-w64 (starting from 8.0.1) introduces support for `IPV6_USER_MTU` socket option [1], which is not supported on Windows 8.1 and older [2]. As there is no way to avoid this socket option from being picked at compile time when targeting older versions of Windows, check for `setsockopt(..., IPV6_USER_MTU, ...)` failures at runtime in order to avoid startup failure on those versions of Windows where the `IPV6_USER_MTU` socket option is unsupported. [1]: mirror/mingw-w64@e30bff4 [2]: `WSAGetLastError()` returns `WSAENOPROTOOPT` (`Bad protocol option`) error code |
||
|---|---|---|
| .. | ||
| cache | ||
| authzone.c | ||
| authzone.h | ||
| listen_dnsport.c | ||
| listen_dnsport.h | ||
| localzone.c | ||
| localzone.h | ||
| mesh.c | ||
| mesh.h | ||
| modstack.c | ||
| modstack.h | ||
| outbound_list.c | ||
| outbound_list.h | ||
| outside_network.c | ||
| outside_network.h | ||
| rpz.c | ||
| rpz.h | ||
| view.c | ||
| view.h | ||