--- On Wed, 9/24/08, Ryan Gies <[EMAIL PROTECTED]> wrote:
> When discarding the request body, I receive the error:
>
> End of file found
>
> (which happens when APR_BUCKET_IS_EOS). I can see the
> spool file being
> written and *presume* the multi-part boundary is missing.
> In a
> PerlHeaderParserHandler I am executing:
>
> 1) Apache2::Request->new()
> 2) $r->add_input_filter()
> 3) $r->discard_request_body()
Why are you doing step 2? You shouldn't need to add an
input filter for apreq to work.
> Swapping steps 2 & 3 will yield same error.
> If calling
> $r->discard_request_body() like this is not commonly
> known to work maybe
> I should follow-up with the libapreq2 development list? If
> this is
> known to work then obviously I need to isolate error.
It's known to work for a few people, but it's not the default
behavior. If you can't decipher why it's not working for you
then asking on apreq-dev@ makes sense.