Re: [mp2] [PATCH] implement ap_save_brigade

[prev] [thread] [next] [Date index for 2005/05/17]

From: Dorian Taylor
Subject: Re: [mp2] [PATCH] implement ap_save_brigade
Date: 19:48 on 17 May 2005
> I'm not getting very far with this, Dorian. Neither httpd-dev nor apr-dev 
> are taking it anywhere. So at the moment ap_save_brigade is sort of an 
> unstable API, so other developers think we shouldn't expose it in the core 
> API. So at the moment you have two options:

hm, this is unfortunate.

> 1) write an XS code in your module which will add this code.

as long as it's relatively straight-forward, i think i'd opt to do this.

> 2) rewrite the code not to use this API, instead use a scalar buffer or an 
> array and append the data their flattening the brigades on each invocation.

ap_save_brigade was unfortunately the only way i could come up with
for intercepting the body of a response so that it doesn't get sent
to the client, and that its contents may be used for other things.

> Please let us know whether this works for you. Thanks.

i can get on this in a few days.

cheers

.d

(message missing)

[mp2] [PATCH] implement ap_save_brigade
Dorian Taylor 18:22 on 09 May 2005

Re: Decaying Performance under newer apache/mp versions
Ricardo Ramos Massaro 20:08 on 09 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Stas Bekman 21:37 on 09 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Dorian Taylor 22:21 on 09 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Stas Bekman 23:00 on 09 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Dorian Taylor 23:30 on 09 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Stas Bekman 01:31 on 10 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Stas Bekman 05:13 on 13 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Dorian Taylor 19:48 on 17 May 2005

Re: [mp2] [PATCH] implement ap_save_brigade
Stas Bekman 19:51 on 17 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52