Skip to content

Commit 51a330a

Browse files
committed
[libwebsocket] Enable asynchronous DNS requests
1 parent d527632 commit 51a330a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

3rdparty/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if(${BUILD_LWS_LIBRARY})
3434
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE_INIT} ${DISABLED_WARNING_LWS}")
3535
endif()
3636

37-
set(LWS_WITH_NETLINK OFF)
37+
set(LWS_WITH_NETLINK OFF CACHE BOOL "Monitor Netlink for Routing Table changes")
38+
SET(LWS_WITH_SYS_ASYNC_DNS ON CACHE BOOL "Nonblocking internal IPv4 + IPv6 DNS resolver")
3839
add_subdirectory(libwebsockets)
3940
endif()

0 commit comments

Comments
 (0)