From e293ae88966a0218c63e999c07bc196e5b69ed1b Mon Sep 17 00:00:00 2001 From: Pedro Tanaka Date: Wed, 3 Jul 2024 17:16:28 +0200 Subject: [PATCH] QFE: disable double compression middleware Signed-off-by: Pedro Tanaka --- CHANGELOG.md | 2 ++ cmd/thanos/query_frontend.go | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e37bf60983..de004cb7eb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,11 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re ## Unreleased + ### Fixed - [#7493](https://github.com/thanos-io/thanos/pull/7493) *: fix server grpc histograms +* [#7511](https://github.com/thanos-io/thanos/pull/7511) Query Frontend: fix doubled gzip compression for response body. ### Added diff --git a/cmd/thanos/query_frontend.go b/cmd/thanos/query_frontend.go index e60169f103b..36b9ed53e89 100644 --- a/cmd/thanos/query_frontend.go +++ b/cmd/thanos/query_frontend.go @@ -359,9 +359,7 @@ func runQueryFrontend( logger, ins.NewHandler( name, - gzhttp.GzipHandler( - logMiddleware.HTTPMiddleware(name, f), - ), + logMiddleware.HTTPMiddleware(name, f), ), // Cortex frontend middlewares require orgID. ),