mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Disables c++11 mutex, until we have a better approach
This commit is contained in:
parent
ac2f0bfd08
commit
b325834f1e
@ -15,13 +15,13 @@
|
||||
|
||||
#include "src/audit_log_writer_serial.h"
|
||||
|
||||
#include <mutex>
|
||||
// #include <mutex>
|
||||
|
||||
#include "src/audit_log.h"
|
||||
|
||||
namespace ModSecurity {
|
||||
|
||||
static std::mutex serialLoggingMutex;
|
||||
// static std::mutex serialLoggingMutex;
|
||||
|
||||
|
||||
AuditLogWriterSerial::~AuditLogWriterSerial() {
|
||||
@ -52,9 +52,9 @@ bool AuditLogWriterSerial::write(Assay *assay, int parts) {
|
||||
|
||||
generateBoundary(&boundary);
|
||||
|
||||
serialLoggingMutex.lock();
|
||||
// serialLoggingMutex.lock();
|
||||
log << assay->toOldAuditLogFormat(parts, "-" + boundary + "--");
|
||||
serialLoggingMutex.unlock();
|
||||
// serialLoggingMutex.unlock();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user