From 793b7558861f4783ba74f353d2c43eebbdb31314 Mon Sep 17 00:00:00 2001 From: kp-cat <52385411+kp-cat@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:26:33 +0200 Subject: [PATCH 1/2] cleanup headers in curl network adapter after perform the request --- src/curlnetworkadapter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/curlnetworkadapter.cpp b/src/curlnetworkadapter.cpp index aff782d..be78fc4 100644 --- a/src/curlnetworkadapter.cpp +++ b/src/curlnetworkadapter.cpp @@ -140,6 +140,10 @@ Response CurlNetworkAdapter::get(const std::string& url, // Perform the request res = curl_easy_perform(curl); + // Cleanup the headers + curl_easy_setopt(curl, CURLOPT_HTTPHEADER, NULL); + curl_slist_free_all(headers); + if (res != CURLE_OK) { response.error = curl_easy_strerror(res); if (res == CURLE_OPERATION_TIMEDOUT) { From b43572954fdf84903a45d43623598849e178c59f Mon Sep 17 00:00:00 2001 From: kp-cat <52385411+kp-cat@users.noreply.github.com> Date: Thu, 18 Jun 2026 15:57:02 +0200 Subject: [PATCH 2/2] bump version 4.0.6 --- src/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/version.h b/src/version.h index 1b0010f..29ed82c 100644 --- a/src/version.h +++ b/src/version.h @@ -1,3 +1,3 @@ #pragma once -#define CONFIGCAT_VERSION "4.0.5" +#define CONFIGCAT_VERSION "4.0.6"