mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Adds a time stamp to assay class
This commit is contained in:
parent
278b513933
commit
3112794025
@ -144,6 +144,7 @@ class Assay {
|
||||
const char *m_uri;
|
||||
const char *m_protocol;
|
||||
const char *m_httpVersion;
|
||||
time_t m_timeStamp;
|
||||
|
||||
std::ostringstream m_requestBody;
|
||||
std::ostringstream m_responseBody;
|
||||
|
@ -83,6 +83,7 @@ Assay::Assay(ModSecurity *ms, Rules *rules)
|
||||
m_rules(rules),
|
||||
save_in_auditlog(false),
|
||||
do_not_save_in_auditlog(false),
|
||||
m_timeStamp(std::time(NULL)),
|
||||
http_code_returned(200) {
|
||||
m_rules->incrementReferenceCount();
|
||||
this->debug(4, "Initialising transaction");
|
||||
|
Loading…
x
Reference in New Issue
Block a user