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

@@ -291,7 +291,7 @@ void perform_unit_test(ModSecurityTest<RegressionTest> *test,
headers.second.c_str());
}
modsec_transaction->processResponseHeaders(r.status, "HTTP 1.1");
modsec_transaction->processResponseHeaders(r.status, t->response_protocol);
actions(&r, modsec_transaction);
#if 0
if (r.status != 200) {