Ben Reser <firstname.lastname@example.org> wrote on 01/11/2013 02:48:00 PM:
> From: Ben Reser <email@example.com>
> To: Zhe Zhang/Watson/IBM@IBMUS,
> Cc: firstname.lastname@example.org
> 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 <email@example.com> 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.