httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ristic <ivan.ris...@gmail.com>
Subject Re: POST Body Buffer?
Date Fri, 19 Jun 2009 20:12:18 GMT
Are your multi-megabyte submissions going to use multipart/form-data  
encoding? If so, ModSecurity does exactly what you need when you  
enable request body buffering.

Ivan

On 19 Jun 2009, at 21:01, "Houser, Rick" <Houser.Rick@aoins.com> wrote:

> I'm facing a situation where we may be required to handle multi- 
> megabyte
> POST submissions from dial-up users.  We want to avoid tying up the
> backend servers for long periods of time if possible.  Does anyone  
> know
> of either built-in support for pre-buffering complete POST request
> bodies (i.e. avoid streaming through to the WAS plug-in) or a module
> that would do that same?
>
> If no, does this approach sound right?
>
> Input filter that:
> (a) determines if it should do anything (looks at the content-length,
> URL, etc.)
> (b) looks at each bucket (AP_MODE_PEEK?), holds a reference, and  
> returns
> a empty brigade unless EOS found
> (c) if EOS found, the output brigade is filled with all the existing
> buckets
>
> I'm currently running 2.0, but could bump up my migration to 2.2 if
> there's a specific feature that would help.
>
>
> Thanks,
>
> Rick Houser
> Auto-Owners Insurance
> Systems Support
> (517)703-2580
>

Mime
View raw message