From b8496fc844f75f9479c53cc3420acd6818e27fd3 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sun, 19 Jun 2016 12:54:40 +0200 Subject: [PATCH] analytics: Disable ALPN only on Windows. --- Source/Core/Common/Analytics.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Common/Analytics.cpp b/Source/Core/Common/Analytics.cpp index 324748936d..29359cc815 100644 --- a/Source/Core/Common/Analytics.cpp +++ b/Source/Core/Common/Analytics.cpp @@ -203,8 +203,10 @@ HttpAnalyticsBackend::HttpAnalyticsBackend(const std::string& endpoint) curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &DummyCurlWriteFunction); curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, 3000); +#ifdef _WIN32 // ALPN support is enabled by default but requires Windows >= 8.1. curl_easy_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, false); +#endif m_curl = curl; }