Re: Decompression with Bucket Brigade

2007-08-28 Thread Mark Harrison

Nick Kew wrote:

On Tue, 28 Aug 2007 10:12:47 +0530
prasanna [EMAIL PROTECTED] wrote:


I have added filter as below in conf file.

AddOutputFilter INFLATE;URLParser;DEFLATE html


I take it this is a proxy?  (If not, why are the contents coming
from the backend ever compressed?)

That scenario is exactly what the INFLATE output filter was
written for, with parsing modules such as mod_proxy_html and
mod_publisher (both of which process links) in the middle.
It works, though there are also some recently-fixed bugs,
so if you're using something older than 2.2.5 you could
usefully upgrade.


and also i am using apr_bucket_copy in my module, but whenever i use
this i got segmentation fault, is there anything behind this?


Sounds like you're using it wrong.


Is there any way to solve this problems!


See my .sig and/or my existing modules :-)


Hi Nick,

clicking on the book link gives me:

http://service.bfast.com/clients/notify/exmerchant-1.html

It looks like a good book, I've just placed an order
with amazon.


Cheers,
Mark

--
Mark Harrison
Pixar Animation Studios


Decompression with Bucket Brigade

2007-08-27 Thread prasanna

Hi,

I am having my module with output filter which parses the
bucket_brigades of response, i have chained the filter with module
inflate and deflate for compressing and decompressing data into
response. While chaining the data i found some of the contents of the
response has lost and response became unclear. I am not clear about
the problem. Am i missing anything between this?

I have added filter as below in conf file.

AddOutputFilter INFLATE;URLParser;DEFLATE html

and also i am using apr_bucket_copy in my module, but whenever i use
this i got segmentation fault, is there anything behind this?

Is there any way to solve this problems!

Thanks in Advance