At 10:06 AM 4/5/2002, you wrote:
>(This is really from me :) )
>
> > > Greg and I discussed this issue (create subrequest, create output via
> > > ap_rXXX, run subrequest) a couple of days ago.  What we preferred
> > > overall was to require an app to call something like ap_rinit() if
> > > they were going to use ap_rXXX functions.  ap_rinit() would add
> > > old_write filter.  ap_rinit() would have to be called at the start of
> > > content generation, before creating any subrequests.

Then why are we still encouraging users to use the ap_rfoo() API?  This seems
like we've abandoned that approach.

Perhaps a simpler solution is to allow a call such as;

ap_rwrite("", 0, r);

Which aught to initialize the OLD_WRITE filter, even if we don't create
a bucket at that time [due to the 0 bytes, no OLD_WRITE bucket needed.]

Bill


Reply via email to