about summary refs log tree commit diff
path: root/src/nm-cloud-setup/nm-http-client.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-03-23 11:52:46 +0100
committerMichael Biebl <biebl@debian.org>2022-03-23 11:52:46 +0100
commit024ee2bf31c1c57823c8bf6588714a4ede5baed1 (patch)
tree5fd63275acf48411b17c71c92771267359ba95d6 /src/nm-cloud-setup/nm-http-client.c
parent0514770b02f34ccb56b6bc52010452663c6717ed (diff)
parent8c623dddbdebe354cb94bfc559a5371a14865317 (diff)
Update upstream source from tag 'upstream/1.36.4'
Update to upstream version '1.36.4'
with Debian dir 64567d8bf986e0827368a9989323ba0356fe2888
Diffstat (limited to 'src/nm-cloud-setup/nm-http-client.c')
-rw-r--r--src/nm-cloud-setup/nm-http-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-cloud-setup/nm-http-client.c b/src/nm-cloud-setup/nm-http-client.c
index 2f71cefa..7ef9f38d 100644
--- a/src/nm-cloud-setup/nm-http-client.c
+++ b/src/nm-cloud-setup/nm-http-client.c
@@ -305,6 +305,7 @@ nm_http_client_get(NMHttpClient       *self,
     curl_easy_setopt(edata->ehandle, CURLOPT_WRITEFUNCTION, _get_writefunction_cb);
     curl_easy_setopt(edata->ehandle, CURLOPT_WRITEDATA, edata);
     curl_easy_setopt(edata->ehandle, CURLOPT_PRIVATE, edata);
+    curl_easy_setopt(edata->ehandle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
 
     if (http_headers) {
         for (i = 0; http_headers[i]; ++i) {