POST_MAX not working

2002-01-04 Thread Trond Arve Nordheim
Hi. I'm trying to limit the size of uploads using Apache::Request. Right now, I'm using the following code: my $r = Apache::Request-new($self-{request}, POST_MAX = 1024); Where $self-{request} is the original Apache::Request-object originally passed to the handler()-function in my mod_perl

RE: POST_MAX not working

2002-01-04 Thread Jonathan M. Hollin
:: Just to see if it actually does limit anything. When I then :: try to post a 5MB file to this component, no warning is :: generated in the Apache log. I've even tried setting :: POST_MAX to 1 byte, still nothing. Trond, I've encountered the same with both Apache::Request and CGI.pm. Are

RE: POST_MAX not working

2002-01-04 Thread Trond Arve Nordheim
On Sat, 2002-01-05 at 01:03, Jonathan M. Hollin wrote: Trond, I've encountered the same with both Apache::Request and CGI.pm. Are you on a Windows server??? Nope, using Linux (Debian sid) with Apache 1.3.22 and mod_perl 1.26 w/libapreq 0.33, all three compiled from source... -- Trond Arve