Ben Reser <email@example.com> wrote on 01/11/2013 02:48:00 PM:
> From: Ben Reser <firstname.lastname@example.org>
> To: Zhe Zhang/Watson/IBM@IBMUS,
> Cc: email@example.com
> Date: 01/11/2013 02:48 PM
> Subject: Re: Question about httpd memory buffer alignment
> On Fri, Jan 11, 2013 at 11:21 AM, Ben Reser <firstname.lastname@example.org> wrote:
> > If you're trying to align the actual memory that's going to mean
> > messing with the memory pooling system for APR. Probably writing your
> > own allocator. And using that allocator with
> > apr_brigade_insert_file() call in default_handler() in server/core.c.
> If this is what you want you might be able to mess with
> APR_ALIGN_DEFAULT in include/apr_general.h, looks like it's aligning
> to 8 bytes.
Changed to 4096 but I'm still getting 8 bytes aligned buffers.