Adds support to the RESPONSE_PROTOCOL variable

This commit is contained in:
Felipe Zimmerle
2016-06-21 09:51:50 -03:00
parent b8bd0c5960
commit df1f7c5e08
6 changed files with 53 additions and 1 deletions

View File

@@ -838,6 +838,7 @@ int Transaction::processResponseHeaders(int code, const std::string& proto) {
this->m_httpCodeReturned = code;
this->m_collections.store("STATUS", std::to_string(code));
m_collections.store("RESPONSE_PROTOCOL", proto);
if (m_rules->secRuleEngine == Rules::DisabledRuleEngine) {
#ifndef NO_LOGS