--- a/src/HTTPHandler.h Tue Apr 05 00:18:49 2022 +0200
+++ b/src/HTTPHandler.h Thu Apr 21 00:22:02 2022 +0200
@@ -56,9 +56,9 @@
relpipe::common::type::StringX value;
bool matches(const relpipe::common::type::StringX& request, const relpipe::common::type::StringX& url) const {
- bool result = false;
- result |= std::regex_match(request, this->request);
- result |= std::regex_match(url, this->url);
+ bool result = true;
+ result &= std::regex_match(request, this->request);
+ result &= std::regex_match(url, this->url);
return result;
}
};
@@ -68,7 +68,6 @@
Configuration configuration;
relpipe::common::type::StringX currentRelationName;
std::vector<relpipe::reader::handlers::AttributeMetadata> currentReaderMetadata;
- std::vector<relpipe::writer::AttributeMetadata> currentWriterMetadata;
HeaderDefinition requestHeader;
relpipe::common::type::StringX requestId;
HTTPClient::Request request;