#pragma once #include #include #include #include #include namespace DB { class HTTPHeaderFilter { public: void setValuesFromConfig(const Poco::Util::AbstractConfiguration & config); void checkHeaders(const HTTPHeaderEntries & entries) const; private: std::unordered_set forbidden_headers; std::vector forbidden_headers_regexp; mutable std::mutex mutex; }; }