httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pratik <pratikn...@gmail.com>
Subject Changing request body from a fixup handler
Date Wed, 10 Dec 2008 15:48:57 GMT
Hi all,

A friend and I are trying to write an Apache module, which would use a
fixup handler to change the request body for multipart content.
Currently, I'm trying something like :

    ap_discard_request_body(r);
    ap_pass_brigade(r->input_filters, my_shiny_new_bucket_brigade);

But that's only clearing the request body, and not setting
my_shiny_new_bucket_brigade as the bucket brigade. So when my content
handler reads request body, it's null.

Any help with this is greatly appreciated !

Thanks.
- Pratik
http://m.onkey.org

Mime
View raw message