]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
setopt: fix CURLOPT_HTTP_CONTENT_DECODING
authorJesus Malo Poyatos <jmalopoy@opentext.com>
Thu, 7 Nov 2024 13:00:53 +0000 (14:00 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Nov 2024 16:29:36 +0000 (17:29 +0100)
Regression from 30da1f5974d34841b30c4f (shipped in 8.11.0)

Fixes #15511
Closes #15510

lib/setopt.c

index 4f0697212739ef5e0bbfc7789b48f20544998205..ba80644bc73279e33cc155b387b94ede4b85aeb4 100644 (file)
@@ -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)