diff --git a/src/core/Handler.cpp b/src/core/Handler.cpp index b229b96..0a8cf1a 100644 --- a/src/core/Handler.cpp +++ b/src/core/Handler.cpp @@ -303,7 +303,7 @@ void CServerHandler::proxyPass(const Pistache::Http::Request& req, Pistache::Htt const auto HEADERS = req.headers().list(); for (auto& h : HEADERS) { // FIXME: why does this break e.g. gitea if we include it? - if (std::string_view{h->name()} == "Host" || std::string_view{h->name()} == "Cache-Control" || std::string_view{h->name()} == "Connection") { + if (std::string_view{h->name()} == "Cache-Control" || std::string_view{h->name()} == "Connection") { Debug::log(TRACE, "Header in: {}: {} (DROPPED)", h->name(), req.headers().getRaw(h->name()).value()); continue; } diff --git a/subprojects/pistache b/subprojects/pistache index 832cd0c..c682cdb 160000 --- a/subprojects/pistache +++ b/subprojects/pistache @@ -1 +1 @@ -Subproject commit 832cd0c0c33a0613c443ebb9527db6d70c4792eb +Subproject commit c682cdb24dec29998e82256c5ea44b4bbc83be89