tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Van Der Gucht ...@uniway.be>
Subject Content-length check
Date Tue, 19 Feb 2002 09:50:47 GMT
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>


Mime
View raw message