file-updater: Use transparent HTTP compression

This commit is contained in:
Richard Stanway committed 2019-07-17 17:22:09 +02:00
1 parent 8af49016fa
commit dd3ed096f8
1 file changed
+1
+1
View File
@@ -117,6 +117,7 @@ static bool do_http_request(struct update_info *info, const char *url,
curl_easy_setopt(info->curl, CURLOPT_WRITEDATA, info);
curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, true);
curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1);
curl_easy_setopt(info->curl, CURLOPT_ACCEPT_ENCODING, "");
if (!info->remote_url) {
// We only care about headers from the main package file