-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 12/13/12 10:27 AM, Mark Thomas wrote: > > > Kai Weber <kai.we...@glorybox.de> wrote: > >> I see the following behaviour on Tomcat 6.0.24: >> >> The maxPostSize is not set, so uses the default of 2MB. I can >> upload files bigger than 2MB (5MB for example). I use >> commons-fileupload to read the file. > > As expected. > >> Does a file upload as multipart/form-data not count to the size >> of the POST? > > No, as the doc make clear. I'm not so sure the docs make it clear. Here's what that attribute currently says (in its entirety): " The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The limit can be disabled by setting this attribute to a value less than or equal to 0. If not specified, this attribute is set to 2097152 (2 megabytes). " It says "FORM URL parameter parsing". That may be some kind of code that means "only when the type is application/x-www-form-urlencoded". We could probably explicitly state that multipart requests are excepted from this limit. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEAREIAAYFAlDLW7UACgkQ9CaO5/Lv0PANRgCfUA69SHOZk5O87VlcoFz4LELt lYQAoMH4B2tFFDnARGkRoB5BDR2GxfV1 =itOY -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org