I just moded the upper case example input filter in the apache module source tree. Basicly you just want to create a heap brigade queue and copy all data into it and pop it back off in order. I can send out some sample code later if you still need help.
Andrew ----- Original Message ----- From: Steve Kemp <[EMAIL PROTECTED]> Date: Friday, October 13, 2006 3:44 pm Subject: Re: Reading POST request without destroying it? To: [email protected] > On Fri, Oct 13, 2006 at 09:41:21PM +0100, Ivan Ristic wrote: > > > Have a look at ModSecurity (http://www.modsecurity.org). It does > what> you ask for. > > My module attempts to do a similar thing: > > http://mod_ifier.cvsrepository.org/ > > (CGI Parsing : http://www.cvsrepository.org/cgi- > bin/trac/mod_ifier/getfile/mod_ifier/src/cgi.c ) > > I've looked at the mod_security code but there is a lot of > complexity there and I'm finding it hard to follow. > I've seen several GPL modules which use buckets but I'm still not > sure I understand exactly how they work. I will keep experimenting. > > Steve > -- >
