From 9460795c92b8a66aef913132eb9f9af0e1ef26f1 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 15 Apr 2025 15:22:27 +0100 Subject: [PATCH] handler: remove old commit --- src/core/Handler.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/Handler.cpp b/src/core/Handler.cpp index eced76c..99592b0 100644 --- a/src/core/Handler.cpp +++ b/src/core/Handler.cpp @@ -375,7 +375,6 @@ void CServerHandler::proxyPass(const Pistache::Http::Request& req, Pistache::Htt builder.params(req.query()); const auto HEADERS = req.headers().list(); for (auto& h : HEADERS) { - // FIXME: why does this break e.g. gitea if we include it? const auto HNAME = std::string_view{h->name()}; if (HNAME == "Cache-Control" || HNAME == "Connection" || HNAME == "Content-Length") { Debug::log(TRACE, "Header in: {}: {} (DROPPED)", h->name(), req.headers().getRaw(h->name()).value());