mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
refactor: add acquire mutex function
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
This commit is contained in:
@@ -135,11 +135,7 @@ typedef struct msc_parm msc_parm;
|
||||
|
||||
#define FATAL_ERROR "ModSecurity: Fatal error (memory allocation or unexpected internal error)!"
|
||||
|
||||
static char auditlog_lock_name[L_tmpnam];
|
||||
static char geo_lock_name[L_tmpnam];
|
||||
#ifdef GLOBAL_COLLECTION_LOCK
|
||||
static char dbm_lock_name[L_tmpnam];
|
||||
#endif
|
||||
#define GLOBAL_LOCK_TEMPLATE "/modsec-lock-tmp.XXXXXX"
|
||||
|
||||
extern DSOLOCAL char *new_server_signature;
|
||||
extern DSOLOCAL char *real_server_signature;
|
||||
|
Reference in New Issue
Block a user