fix(http): lower TLS to v1.2 for downloading covers (#3691)

This commit is contained in:
ReenigneArcher 2025-02-28 09:50:58 -05:00 committed by GitHub
parent e3079da132
commit f7190f53ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ namespace http {
);
int reload_user_creds(const std::string &file);
bool download_file(const std::string &url, const std::string &file, long ssl_version = CURL_SSLVERSION_TLSv1_3);
bool download_file(const std::string &url, const std::string &file, long ssl_version = CURL_SSLVERSION_TLSv1_2);
std::string url_escape(const std::string &url);
std::string url_get_host(const std::string &url);