mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Merge pull request #3907 from delroth/analytics-alpn
analytics: Disable ALPN only on Windows.
This commit is contained in:
commit
d5fbc14ecf
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue