diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-06-23 23:01:37 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-06-23 23:04:16 +0200 |
commit | b2fa069dae9bb4159030187e87a9f0e755176cfa (patch) | |
tree | 98c6cf420ffd483f8c4cf646044975084da5b46d | |
parent | b0052ff6b29c0f8222b7b9b659e2750b2470fb18 (diff) | |
download | manaplus-fix_windows_SEC_E_ILLEGAL_MESSAGE.tar.gz manaplus-fix_windows_SEC_E_ILLEGAL_MESSAGE.tar.bz2 manaplus-fix_windows_SEC_E_ILLEGAL_MESSAGE.tar.xz manaplus-fix_windows_SEC_E_ILLEGAL_MESSAGE.zip |
<meway> I was saying to add curl_easy_setopt(curl,fix_windows_SEC_E_ILLEGAL_MESSAGE
CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
-rw-r--r-- | src/net/download.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp index eb6d0baac..8e915d490 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -368,6 +368,9 @@ int Download::downloadThread(void *ptr) #endif // LIBCURL_VERSION_NUM >= 0x070a00 curl_easy_setopt(d->mCurl, CURLOPT_CONNECTTIMEOUT, 30); curl_easy_setopt(d->mCurl, CURLOPT_TIMEOUT, 1800); + curl_easy_setopt(d->mCurl, + CURLOPT_SSLVERSION, + CURL_SSLVERSION_TLSv1_2); addHeaders(d->mCurl); addProxy(d->mCurl); secureCurl(d->mCurl); |