-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark,
On 3/14/2011 10:47 AM, Mark Thomas wrote: > On 14/03/2011 14:41, André Warnier wrote: >> It still seems to leave open the question as to what "the size limit of >> a MultiPart upload" means exactly. > > That is defined by the Servlet 3.0 specification. > >> Under Tomcat 7, is this the maxPostSize even for multipart POSTs, or is this >> settable somewhere else ? > > Again, maxPostSize plays *no* role in limiting multi-part uploads. It > only applies when processing POSTs with a content type of: > application/x-www-form-urlencoded > >> Also, "the servlet sets the response status to 413" seems to imply that >> the servlet can detect the size of the POST. But does it know if before >> the client has finished posting ? > > That would be the content-length header on the request. If there is no request content-length, is the amount of data uploaded to the server ever checked against this same limit? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1+UosACgkQ9CaO5/Lv0PDSpwCfXL9NuOo9llEFfdz0xAr/jHq2 AD0An3NwQj04mA1jb6JoYSimUkmWEUFm =gW+d -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org