This commit is contained in:
Vojtech Bubnik 2021-08-25 09:34:32 +02:00
parent d701dfe436
commit 783c9cf202

View File

@ -491,6 +491,7 @@ Http& Http::form_add_file(const std::string &name, const fs::path &path, const s
return *this; return *this;
} }
#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). // This option is only supported for Schannel (the native Windows SSL library).
Http& Http::ssl_revoke_best_effort(bool set) Http& Http::ssl_revoke_best_effort(bool set)
@ -500,6 +501,7 @@ Http& Http::ssl_revoke_best_effort(bool set)
} }
return *this; return *this;
} }
#endif // WIN32
Http& Http::set_post_body(const fs::path &path) Http& Http::set_post_body(const fs::path &path)
{ {