diff options
| author | Michael Biebl <biebl@debian.org> | 2022-03-23 11:51:40 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-03-23 11:51:40 +0100 |
| commit | 8c623dddbdebe354cb94bfc559a5371a14865317 (patch) | |
| tree | b8c48e415a98834ca1e19c8fa677ac04b9c51d4a /src/nm-cloud-setup | |
| parent | 4f887bccf1cde84106588536584a2d54a5b4e6e5 (diff) | |
New upstream version 1.36.4 upstream/1.36.4
Diffstat (limited to 'src/nm-cloud-setup')
| -rw-r--r-- | src/nm-cloud-setup/nm-http-client.c | 1 |
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) { |