I've got POST_MAX set to limit to 100k

sub handler
{
        my      $r       = shift;
my $apr = Apache2::Request->new( $r , DISABLE_UPLOADS=>0 , POST_MAX=>100_000 );
}

I'm able to upload files < 100 k fine

But I just realized -

what will happen if i try to upload a 200k file?

so i tried to see what would happen

and this happend:

errlog-
[Thu Feb 02 20:11:19 2006] [error] [client fe80::211:24ff:fec1:f053] (20014)Error string not specified yet: Content-Length header (241914) exceeds configured max_body limit (100000), referer: http://g5.local: 8082/my/photos/

browser-
constant loading symbol

no error got tripped.

i went looking for POST_MAX on google and some books to find out how to catch the error. I can't.
can someone point me in the right direction?

Reply via email to