Merge "Revert "libstore: don't use curl decompression support"" into main

This commit is contained in:
jade
2025-04-09 16:01:37 +00:00
committed by Lix Systems Gerrit
3 changed files with 20 additions and 101 deletions
@@ -1,14 +0,0 @@
---
synopsis: "Fix curl error `A value or data field grew larger than allowed`"
cls: [2780]
category: Fixes
credits: horrors
---
2.92 started using curl-provided HTTP decompression code, but it as discovered
that curl has [a bug] that effectively breaks its decompression code on HTTP/2
transfers. We have partially rolled back our changes and no longer use builtin
decompression methods provided by curl, but have kept the refusal of bzip2 and
xz content encodings introduced with 2.92 since they are not in the HTTP spec.
[a bug]: https://git.lix.systems/lix-project/lix/issues/662