My bad, never mind. You are fixing up the
ctx->b pointers. I'm going to try it out. -----Original Message----- Cliff, Is your code assuming that b is empty? If so, I'm not
sure we can make that assumption. -----Original Message----- On Thu, 12 Jun 2003, Justin Erenkrantz wrote:
> for (bucket = APR_BUCKET_FIRST(ctx->b);
No! Bad!! The whole beauty of the ring
data structure is that all of > If you understand the type safety checks it is
attempting, you are a far Well, I dunno about that... I do understand them but
then again I've The following code assumes that ctx->b has at least
one bucket in it, if (APR_BRIGADE_FIRST(ctx->b) != e) /* fixup the dangling pointers in
ctx->b */ Lovely, eh? I didn't actually test this to make
sure it's 100% right, but --Cliff |
Title: RE: [PATCH] Avoid unnecessary brigade splits on core input and output
filters. WAS: EOS or FLUSH buckets