[EMAIL PROTECTED] wrote:
Author: jorton
Date: Thu Sep 22 08:38:14 2005
New Revision: 290965

URL: http://svn.apache.org/viewcvs?rev=290965&view=rev
Log:
Implement a (bounded) buffer of request body data to provide a limited
but safe fix for the mod_ssl renegotiation-vs-requests-with-bodies

You did happen to notice that the code required here matches exactly the
new http proxy spool_reqbody_cl code?

I mentioned before that apreq aught to be plugged in, but I've noticed
that the model is upside down...

We need -ONE- filter to simply slurp bodies, set them aside in a file as
necessary, and then replace the sock/memory bucket with the 'bounded' memory bucket (for -short- responses), and when the bound overflows,
either a file bucket or mmap bucket of the slurped body.

This filter simply needs to live in core.  apreq can use it.  ssl can
use it.  proxy_http can use it.

And if it's a single filter, then (if nobody transforms the file or mmap
bucket) we don't duplicate this buffer.

Comments?

Bill





Reply via email to