From: Michael Tremer Date: Fri, 27 Oct 2023 11:31:43 +0000 (+0000) Subject: xfer: Enable all supported encodings X-Git-Tag: 0.9.30~1394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=541737dfce906fb0a4437416911fae32e7c16d63;p=pakfire.git xfer: Enable all supported encodings Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/xfer.c b/src/libpakfire/xfer.c index 7541072be..e86618820 100644 --- a/src/libpakfire/xfer.c +++ b/src/libpakfire/xfer.c @@ -245,6 +245,9 @@ static int pakfire_xfer_setup(struct pakfire_xfer* xfer) { // Limit protocols to HTTPS, HTTP, FTP and FILE curl_easy_setopt(xfer->handle, CURLOPT_PROTOCOLS_STR, "HTTPS,HTTP,FTP,FILE"); + // Allow all support encodings + curl_easy_setopt(xfer->handle, CURLOPT_ACCEPT_ENCODING, ""); + // Reference back to this xfer curl_easy_setopt(xfer->handle, CURLOPT_PRIVATE, xfer);