Compare commits

...
Author SHA1 Message Date
Hanif Koh e2a845db1e Verify the TLS Certificate When Downloading a Cloud Plugin 2026-10-07 19:32:25 +08:00
+1
View File
@@ -197,6 +197,7 @@ bool CloudPluginService::download_cloud_plugin(PluginDescriptor& entry,
Http http = Http::get(download_url); Http http = Http::get(download_url);
http.timeout_connect(30) http.timeout_connect(30)
.timeout_max(300) .timeout_max(300)
.tls_verify(true)
.on_complete([&body, &http_status](std::string response_body, unsigned status) { .on_complete([&body, &http_status](std::string response_body, unsigned status) {
body = std::move(response_body); body = std::move(response_body);
http_status = status; http_status = status;