From 46e48868ac6e8bf15769d093ee42f3b329fb4007 Mon Sep 17 00:00:00 2001 From: Joakim Soderberg Date: Thu, 24 Apr 2014 14:47:10 +0200 Subject: [PATCH] Turn off IPv6 in windows for now It's horribly broken AG: issue seems to be size of the addr struct as suggested on the list --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69bf25f5..ff9a24e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,11 @@ endif() set(LWS_OPENSSL_CLIENT_CERTS ../share CACHE PATH "Server SSL certificate directory") if (WIN32) set(LWS_OPENSSL_CLIENT_CERTS . CACHE PATH "Client SSL certificate directory") + + if (LWS_IPV6) + set(LWS_IPV6 OFF) + message(WARNING "IPv6 does currently not work on Windows!") + endif() else() set(LWS_OPENSSL_CLIENT_CERTS /etc/pki/tls/certs/ CACHE PATH "Client SSL certificate directory") endif()