mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Add atomic updates for persistent counters. See #20.
This commit is contained in:
@@ -302,6 +302,8 @@ apr_status_t modsecurity_tx_init(modsec_rec *msr) {
|
||||
msr->geo_vars = apr_table_make(msr->mp, 8);
|
||||
if (msr->geo_vars == NULL) return -1;
|
||||
|
||||
msr->collections_original = apr_table_make(msr->mp, 8);
|
||||
if (msr->collections_original == NULL) return -1;
|
||||
msr->collections = apr_table_make(msr->mp, 8);
|
||||
if (msr->collections == NULL) return -1;
|
||||
msr->collections_dirty = apr_table_make(msr->mp, 8);
|
||||
|
Reference in New Issue
Block a user