Verify the TLS Certificate When Downloading a Cloud Plugin (#16253)

This commit is contained in:
HanifKoh
2026-10-11 14:25:50 +08:00
committed by GitHub
parent 295094a594
commit 2df07b7ed8
+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;