tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vic...@outblaze.com
Subject Re: Content-length check
Date Tue, 19 Feb 2002 09:54:54 GMT
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:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message