Do not pause if we are not the main request. See #124.

This commit is contained in:
brectanus 2007-06-11 21:20:07 +00:00
parent 46d7a5ec6f
commit 23bd6b4331

View File

@ -83,8 +83,8 @@ int perform_interception(modsec_rec *msr) {
*/
log_level = (actionset->log != 1) ? 4 : 1;
/* Pause the request first (if configured to do so). */
if (actionset->intercept_pause) {
/* Pause the request first (if configured to do so and the main request). */
if (actionset->intercept_pause && (msr->r->main == NULL)) {
msr_log(msr, (log_level > 3 ? log_level : log_level + 1), "Pausing transaction for "
"%i msec.", actionset->intercept_pause);
/* apr_sleep accepts microseconds */