From 963f02b34a04bc05a90d1fb03e029ff5cfc30f9d Mon Sep 17 00:00:00 2001 From: Jesus Malo Poyatos Date: Thu, 7 Nov 2024 14:00:53 +0100 Subject: [PATCH] [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 --- lib/setopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2