You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by yanchao0724 <ya...@126.com> on 2012/09/11 09:53:07 UTC
My input filter is being called times
Hi,
I'm a apache beginner from China. And I wrote an input filter that used to acquire the whole post data, and then cleanup it all,and filling up the brigade with new content ;So the later modules can handle the new content .
I used the function "ap_get_brigade" to get the post data,but I found that my input filter was been called times; and if the post data is too large, it cannot acquire the whole post data!
Can you tell me what have I done wrong?
Thanks for any help.
Regards,
yanchao
sep 11th 2012
Re: My input filter is being called times
Posted by Eric Covener <co...@gmail.com>.
On Tue, Sep 11, 2012 at 3:53 AM, yanchao0724 <ya...@126.com> wrote:
> Hi,
> I'm a apache beginner from China. And I wrote an input filter that used to acquire the whole post data, and then cleanup it all,and filling up the brigade with new content ;So the later modules can handle the new content .
> I used the function "ap_get_brigade" to get the post data,but I found that my input filter was been called times; and if the post data is too large, it cannot acquire the whole post data!
> Can you tell me what have I done wrong?
> Thanks for any help.
I think what you're describing is expected. You shouldn't buffer the
input or expect to get it all at once. See for example mod_deflate.