-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable compressed downloads in flatpak-builder
Revert to the old behaviour, disable-http-decompression will not do anything in the manifest. The property is still kept to prevent warnings
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
patches/flatpak-builder-disable-compressed-downloads.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/src/builder-utils.c b/src/builder-utils.c | ||
index 7c838170..55c4ab62 100644 | ||
--- a/src/builder-utils.c | ||
+++ b/src/builder-utils.c | ||
@@ -1114,9 +1114,6 @@ builder_download_uri_buffer (GUri *uri, | ||
curl_easy_setopt (session, CURLOPT_WRITEDATA, &write_data); | ||
curl_easy_setopt (session, CURLOPT_ERRORBUFFER, error_buffer); | ||
|
||
- if (!disable_http_decompression) | ||
- curl_easy_setopt (session, CURLOPT_ACCEPT_ENCODING, ""); | ||
- | ||
write_data.out = out; | ||
write_data.checksums = checksums; | ||
write_data.n_checksums = n_checksums; |