Added TX_SEVERITY variable. See #60.

This commit is contained in:
brectanus
2007-08-08 22:11:02 +00:00
parent d2fd881c00
commit 648037fdb5
5 changed files with 32 additions and 0 deletions

View File

@@ -295,9 +295,12 @@ apr_status_t modsecurity_tx_init(modsec_rec *msr) {
msr->collections_dirty = apr_table_make(msr->mp, 8);
if (msr->collections_dirty == NULL) return -1;
/* Other */
msr->tcache = apr_hash_make(msr->mp);
if (msr->tcache == NULL) return -1;
msr->tx_severity = 7; /* lowest */
return 1;
}