On 21/08/2011 08:08, Steffen Heil (Mailinglisten) wrote:
>> > AFAIK Tomcat processes the request before the user code in a servlet is
>> > active, so you can't do it from inside a servlet.
> Hm.
> Tomcat does NOT parse these POST parameters (at least not by default and not
> in my case).
> I know for sure, that my code detects unwanted files with only a few bytes
> received. (I can tell by printing a simple line to the logs, and I can see
> that line nearly immediately after starting a 9GB upload, yet the browser
> continues to upload everything.) I just cannot cancel the upload.

Actually, I'm not entirely correct and I am now remembering this has
been discussed before on either this list or the tomcat-dev list.

Are you throwing an exception, or closing the inputstream?


p


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to