mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Adds support to ctl:auditLogParts variation
This commit is contained in:
@@ -45,17 +45,23 @@ class AuditLogWriterSerial : public AuditLogWriter {
|
||||
|
||||
|
||||
void refCountDecreaseAndCheck() override {
|
||||
/*
|
||||
m_refereceCount--;
|
||||
|
||||
|
||||
if (m_refereceCount == 0) {
|
||||
delete this;
|
||||
}
|
||||
*/
|
||||
delete this;
|
||||
/*
|
||||
/}
|
||||
*/
|
||||
}
|
||||
|
||||
bool init() override;;
|
||||
bool write(Assay *assay, int parts) override;
|
||||
|
||||
private:
|
||||
std::ofstream log;
|
||||
std::ofstream m_log;
|
||||
void generateBoundary(std::string *boundary);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user