Verify the TLS Certificate When Downloading a Cloud Plugin

This commit is contained in:
Hanif Koh
2026-10-07 19:32:25 +08:00
parent a38e6c61f2
commit e2a845db1e
+1
View File
@@ -197,6 +197,7 @@ bool CloudPluginService::download_cloud_plugin(PluginDescriptor& entry,
Http http = Http::get(download_url);
http.timeout_connect(30)
.timeout_max(300)
.tls_verify(true)
.on_complete([&body, &http_status](std::string response_body, unsigned status) {
body = std::move(response_body);
http_status = status;