Re: Internal apreq error

Joe Schaefer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
----- Original Message ----

> From: Rolf Schaufelberger <[email protected]>
> To: Mod_perl users <[email protected]>
> Sent: Fri, December 3, 2010 11:24:06 AM
> Subject: Internal apreq error
> 
> Hi, 
> 
> (server  Apache/2.2.14, OS Ubunto 10.04 LTS, libapreq 2.12.2  )
> 
> I'm getting sometimes an 
> 
> Internal apreq error
> 
> which  appears in my apache log with no more information that just that 
string.
> I  would like to know where this error happens and why. 
> Can I  force  apreq  to be a bit more verbose about errors ?
> The problem is, I can't  reproduce the error, so running apache in debugger is 
>no option. 
>
> 
> The  only thing I (mean to) know so far: The error happens during large file 
>uploads. 
>
> I have a form  where a user can uploald 13 files   which may have  have more 
>than 100MB.

Most likely the user interrupted the upload.  It generally means
the parser's input stream was missing expected stuff.

> The apreq  is  patched to allow more that  that (MAX set to 1000MB). 

You shouldn't have to patch apreq.  There is a config setting for that:

APREQ2_ReadLimit.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.