httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Accessing the request stream with out dechunking
Date Tue, 01 Jul 2008 17:42:09 GMT
Nick Kew wrote:
> On Tue, 01 Jul 2008 16:43:37 +0530
> Manjula Peiris <manjula@wso2.com> wrote:
> 
>> Hi,
>>
>> I am writing a httpd module using Apache 2.2.6. I want to access the
>> request stream with out dechunked  when transfer encoding is chunked.
>> I am using ap_setup_client_block(req,REQUEST_CHUNKED_DECHUNK) at the
>> beginning and use ap_get_client_block to read data. 
>> Your help is greatly appreciated.
> 
> Drop the ap_*_client_block API and read from the input chain.
> You'll probably want to go straight to the protocol filter
> and/or walk the chain removing any filters that are incompatible
> with your module.

and disabling any filters that you expected to work with your module.
You would do better not replacing transport protocol management and
let the underlying server do what it does.

> BTW, I think this belongs more on the modules list than here.

Probably

Mime
View raw message