Looking for an Apache::Sandwich replacement for mod_perl2 / Apache2

2010-08-26 Thread Rafael Caceres
Hi, I've been trying to move a site which uses Apache::Sandwich to Apache2/mod_perl2. I'm having trouble replicating the functionality on mod_perl2. Is anyone aware of such a replacement module, or one that could be modified for this purpose? Regards, Rafael Caceres

Re: mp2] [mod_proxy] [filter] mod_proxy is not playing with my request filter.

2010-08-26 Thread James Lee
Hi, thanks for the response. To my knowledge (which is about a weeks worth) you don't need or indeed see an end_of_stream bucket in a connection filter till the connection is closed and then only in the output filter. Conveniently the request headers seem to be passed from the core filter one bri

Re: mp2] [mod_proxy] [filter] mod_proxy is not playing with my request filter.

2010-08-26 Thread Torsten Förtsch
On Thursday, August 26, 2010 18:28:47 James Lee wrote: A few comments below. The goal of the code is to fill up $bb. Nothing is copied there unless you do. The way you do it is to start with an empty brigade. > sub forward_get_as_post :FilterConnectionHandler > { > my ($f, $bb, $mode, $block

Re: mp2] [mod_proxy] [filter] mod_proxy is not playing with my request filter.

2010-08-26 Thread James Lee
I'm still having issues attempting to modify the body of an http request - this time using a FilterConnectionHandler. I've had to park this due to deadlines and write it using LWP in a PerlResponseHandler. This is far from ideal as some of the responses are upwards of 5MB, and what I'm trying to d