From: Jesus Malo Poyatos Date: Thu, 7 Nov 2024 13:00:53 +0000 (+0100) Subject: [PATCH] setopt: fix CURLOPT_HTTP_CONTENT_DECODING X-Git-Tag: archive/raspbian/8.12.0+git20250209.89ed161+ds-1+rpi1~1^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=963f02b34a04bc05a90d1fb03e029ff5cfc30f9d;p=curl.git [PATCH] setopt: fix CURLOPT_HTTP_CONTENT_DECODING Regression from 30da1f5974d34841b30c4f (shipped in 8.11.0) Fixes #15511 Closes #15510 Gbp-Pq: Name setopt_fix_CURLOPT_HTTP_CONTENT_DECODING.patch --- diff --git a/lib/setopt.c b/lib/setopt.c index 4f069721..ba80644b 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -1146,7 +1146,7 @@ static CURLcode setopt_long(struct Curl_easy *data, CURLoption option, /* * raw data passed to the application when content encoding is used */ - data->set.http_ce_skip = enabled; + data->set.http_ce_skip = !enabled; /* reversed */ break; #if !defined(CURL_DISABLE_FTP) || defined(USE_SSH)