Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 20998 invoked by uid 500); 11 Jun 2003 21:21:20 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 20967 invoked from network); 11 Jun 2003 21:21:20 -0000 Message-ID: <69EB8DF424C8FE409AF8FFAF1B19787AE19441@ftlpexch502> From: Juan Rivera To: "'dev@httpd.apache.org'" Subject: RE: [PATCH] Avoid unnecessary brigade splits on core input and ou tput filters. WAS: EOS or FLUSH buckets Date: Wed, 11 Jun 2003 17:21:18 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3305F.65AE88B5" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3305F.65AE88B5 Content-Type: text/plain 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:jwoolley@virginia.edu] Sent: Wednesday, June 11, 2003 5:14 PM To: dev@httpd.apache.org 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 ------_=_NextPart_001_01C3305F.65AE88B5 Content-Type: text/html Content-Transfer-Encoding: quoted-printable 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:jwoolley@virginia.edu] =
Sent: Wednesday, June 11, 2003 5:14 PM
To: dev@httpd.apache.org
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

------_=_NextPart_001_01C3305F.65AE88B5--