tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Van Der Gucht>
Subject Content-length check
Date Tue, 19 Feb 2002 09:50:47 GMT

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:   <>
For additional commands, e-mail: <>

View raw message