On 08.03.2011 22:09, sebb wrote:
On 8 March 2011 17:18,<rj...@apache.org> wrote:
Author: rjung
Date: Tue Mar 8 17:18:16 2011
New Revision: 1079444
URL: http://svn.apache.org/viewvc?rev=1079444&view=rev
Log:
New context attribute "swallowAbortedUploads" allows
to make request data swallowing configurable for requests
that are too large.
...
--- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Tue Mar 8
17:18:16 2011
@@ -197,6 +197,12 @@ public class StandardContext extends Con
protected boolean allowCasualMultipartParsing = false;
/**
+ * Control whether remaining request data will be read
+ * (swallowed) even if the request violates a data size constraint.
+ */
+ public boolean swallowAbortedUploads = true;
This should surely be private - there are public [gs]etters already.
Sure, fixed in r1079584, thanks.
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org