Add the input filter if we have read the body (even if a sub-request). See #335.

This commit is contained in:
brectanus
2007-10-17 22:41:37 +00:00
parent 9d49adf028
commit 8e99090067
3 changed files with 20 additions and 14 deletions

View File

@@ -41,6 +41,11 @@ apr_status_t input_filter(ap_filter_t *f, apr_bucket_brigade *bb_out,
msr->r = f->r;
if (msr->phase > PHASE_REQUEST_BODY) {
msr_log(msr, 1, "Internal error: Still in input filter in phase %d", msr->phase);
return APR_EGENERAL;
}
if ((msr->if_status == IF_STATUS_COMPLETE)||(msr->if_status == IF_STATUS_NONE)) {
if (msr->txcfg->debuglog_level >= 4) {
msr_log(msr, 4, "Input filter: Input forwarding already complete, skipping (f %x, r %x).", f, f->r);