From: Jesus Malo Poyatos Date: Thu, 7 Nov 2024 13:00:53 +0000 (+0100) Subject: setopt: fix CURLOPT_HTTP_CONTENT_DECODING X-Git-Tag: curl-8_11_1~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=878bc429f26c27294787dc59d7b53345d9edc5aa;p=thirdparty%2Fcurl.git setopt: fix CURLOPT_HTTP_CONTENT_DECODING Regression from 30da1f5974d34841b30c4f (shipped in 8.11.0) Fixes #15511 Closes #15510 --- diff --git a/lib/setopt.c b/lib/setopt.c index 4f06972127..ba80644bc7 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)