mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 14:33:04 +00:00
ENH: GUI: add arm64 check logic for windows
jira: no-jira Change-Id: Ic788d4ae9218b909eae5ce571d4436c39e77230a (cherry picked from commit 323184e42c5f85c8738b03b890e5aaf3818e8858)
This commit is contained in:
@@ -666,7 +666,7 @@ Http& Http::form_add_file(const std::string &name, const fs::path &path, const s
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
// Tells libcurl to ignore certificate revocation checks in case of missing or offline distribution points for those SSL backends where such behavior is present.
|
||||
// Tells libcurl to ignore certificate revocation checks in case of missing or offline distribution points for those SSL backends where such behavior is present.
|
||||
// This option is only supported for Schannel (the native Windows SSL library).
|
||||
Http& Http::ssl_revoke_best_effort(bool set)
|
||||
{
|
||||
@@ -804,6 +804,12 @@ void Http::set_extra_headers(std::map<std::string, std::string> headers)
|
||||
extra_headers.swap(headers);
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> Http::get_extra_headers()
|
||||
{
|
||||
std::lock_guard<std::mutex> l(g_mutex);
|
||||
return extra_headers;
|
||||
}
|
||||
|
||||
bool Http::ca_file_supported()
|
||||
{
|
||||
::CURL *curl = ::curl_easy_init();
|
||||
|
||||
Reference in New Issue
Block a user