Hello, I just joined this list a minute ago, so forgive me if this has already been suggested, but it looks like you could use some more parentheses in the macros definitions in apr_buckets.h. I'm getting precedence problems when using APR_BUCKET_IS_EOS(*bucket_ptr), for instance. Here's a patch.
you bet, I expect to commit in a minute :)