dougm 02/02/26 11:03:58 Added: xs/Apache/SubRequest Apache__SubRequest.h Log: moving the subrequest special case here, to flush main output buffer before running a subrequest. Revision Changes Path 1.1 modperl-2.0/xs/Apache/SubRequest/Apache__SubRequest.h Index: Apache__SubRequest.h =================================================================== static MP_INLINE int mpxs_ap_run_sub_req(pTHX_ request_rec *r) { /* need to flush main request output buffer if any * before running any subrequests, else we get subrequest * output before anything already written in the main request */ if (r->main) { modperl_config_req_t *rcfg = modperl_config_req_get(r->main); modperl_wbucket_flush(rcfg->wbucket); } return ap_run_sub_req(r); }