mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
analytics: Disable ALPN only on Windows.
This commit is contained in:
parent
d9b687f5e2
commit
b8496fc844
@ -203,8 +203,10 @@ HttpAnalyticsBackend::HttpAnalyticsBackend(const std::string& endpoint)
|
|||||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &DummyCurlWriteFunction);
|
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &DummyCurlWriteFunction);
|
||||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, 3000);
|
curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, 3000);
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
// ALPN support is enabled by default but requires Windows >= 8.1.
|
// ALPN support is enabled by default but requires Windows >= 8.1.
|
||||||
curl_easy_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, false);
|
curl_easy_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, false);
|
||||||
|
#endif
|
||||||
|
|
||||||
m_curl = curl;
|
m_curl = curl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user