if you are not looking for setting this limit dynamicly, this apache directive might solve your problem.
http://httpd.apache.org/docs/mod/core.html#limitrequestbody Philippe Van Der Gucht wrote: > Hello, > > I bumped into a problem where I wanted to prevent a file upload from happening. > The easy way was to insert some code in the connector > (org.apache.ajp.RequestBase) that checks if the content-length is below a > configured value. > If it isn't then that's where my problem begins... > > Can I abort this http request? > > And if yes what would be a clean way to do this? > > I use Apache 1.3.22 + mod_jk 3.3 and tomcat 4.0.2 with the ajp 1.3 connector. > > Greetings, Philippe. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>