in reply to Re: mod_perl - using input filters and bucket brigades to pass data to subrequests
in thread mod_perl - using input filters and bucket brigades to pass data to subrequests

The main reason for making subrequests is that we're getting a bunch of WEBDAV requests bundled in the POSTed request. We don't want to handle those in perl, as mod_dav was built to do it. We are already using the $r->pnotes for passing the data from the handler to the input filter.

An other option would be using LWP - but that seems quite stupid, as we would loose the whole request environment.

A third option would be writing xs code for gluing perl to mod_dav. If one has that code handy already, I'd be more than interested in trying that way

  • Comment on Re^2: mod_perl - using input filters and bucket brigades to pass data to subrequests

Replies are listed 'Best First'.
Re^3: mod_perl - using input filters and bucket brigades to pass data to subrequests
by perrin (Chancellor) on Mar 11, 2008 at 05:38 UTC
    Ok, you could use subrequests for that. I'd still check out CPAN's DAV modules though. If you think subrequests to mod_dav are the way to go, bring your question about filters over to the mod_perl mailing list.