From dd3ed096f891742e0c35f8237e198edab7377b45 Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Wed, 17 Jul 2019 17:22:09 +0200 Subject: [PATCH] file-updater: Use transparent HTTP compression --- deps/file-updater/file-updater/file-updater.c | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/file-updater/file-updater/file-updater.c b/deps/file-updater/file-updater/file-updater.c index 73f59ff94..580840050 100644 --- a/deps/file-updater/file-updater/file-updater.c +++ b/deps/file-updater/file-updater/file-updater.c @@ -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