Add caching for transformations. See #14.

This commit is contained in:
brectanus
2007-05-25 21:14:59 +00:00
parent 61238ca22f
commit 6cc0173cfa
4 changed files with 144 additions and 1 deletions

View File

@@ -297,6 +297,9 @@ 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;
msr->tcache = apr_hash_make(msr->mp);
if (msr->tcache == NULL) return -1;
return 1;
}