Title: RE: [PATCH] Avoid unnecessary brigade splits on core input and output filters. WAS: EOS or FLUSH buckets

Cliff,

How would the code look like? I tried unsplicing from the first bucket to the bucket previous to e and then splicing it at the tail of b. But didn't work. I don't understand well how the ring data structure works.

Juan

-----Original Message-----
From: Cliff Woolley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 11, 2003 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [PATCH] Avoid unnecessary brigade splits on core input and output filters. WAS: EOS or FLUSH buckets

On Tue, 10 Jun 2003, Justin Erenkrantz wrote:

> What you are really wanting to do is a partial concatenation of the brigade.
> Something like (not there, but it could be easily added):
>
> APR_BRIGADE_CONCAT_UNTIL(b, ctx->b, e)

I'm not sure I see exactly where you're going, but you might be able to
get what you want by doing an APR_RING_SPLICE().

--Cliff

Reply via email to