Fixed blocking in phase 3 by reverting changeset:591 (for now). See #65 and #498.

This commit is contained in:
brectanus 2008-05-30 19:31:22 +00:00
parent 81145fe2b9
commit 0c1f2f2e09
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,8 @@
09 May 2008 - trunk
30 May 2008 - trunk
-------------------
* Fixed blocking in phase 3.
* Persistent counter updates are now atomic.
* Force modules "mod_rpaf-2.0.c" and "mod_custom_header.c" to run before

View File

@ -961,6 +961,8 @@ static void hook_insert_filter(request_rec *r) {
}
}
/* NOTE: This is causing and endless loop when blocking in phase:3 */
#if 0
/**
* Invoked whenever Apache starts processing an error. A chance
* to insert ourselves into the output filter chain.
@ -1002,6 +1004,7 @@ static void hook_insert_error_filter(request_rec *r) {
}
}
}
#endif
#if (!defined(NO_MODSEC_API))
/**
@ -1105,7 +1108,9 @@ static void register_hooks(apr_pool_t *mp) {
/* Filter hooks */
ap_hook_insert_filter(hook_insert_filter, NULL, NULL, APR_HOOK_FIRST);
#if 0
ap_hook_insert_error_filter(hook_insert_error_filter, NULL, NULL, APR_HOOK_FIRST);
#endif
ap_register_input_filter("MODSECURITY_IN", input_filter,
NULL, AP_FTYPE_CONTENT_SET);