apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Reser <...@reser.org>
Subject Re: Question about httpd memory buffer alignment
Date Fri, 11 Jan 2013 19:48:00 GMT
On Fri, Jan 11, 2013 at 11:21 AM, Ben Reser <ben@reser.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.

Mime
View raw message