Re: The purpose of maxPostSize

2010-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/2/2010 6:48 AM, André Warnier wrote: > It is there to avoid the possibility for some miscreant to overwhelm > your server by sending it a POST request with a body of, for example, 10 > Gigabyte, through a slow connection. > In the absence

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 15:06, André Warnier wrote: > Mark Thomas wrote: >> On 02/05/2010 14:39, André Warnier wrote: >> >>> There exists a "FileUpload" module for that in the Apache commons >>> project (at http://commons.apache.org/fileupload/), but you have to >>> install it separately. >>> It would seem m

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Mark Thomas wrote: On 02/05/2010 14:39, André Warnier wrote: There exists a "FileUpload" module for that in the Apache commons project (at http://commons.apache.org/fileupload/), but you have to install it separately. It would seem more natural to me if this module was an integral part of Tomca

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 14:39, André Warnier wrote: > There exists a "FileUpload" module for that in the Apache commons > project (at http://commons.apache.org/fileupload/), but you have to > install it separately. > It would seem more natural to me if this module was an integral part of > Tomcat, but I sup

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Mark Thomas wrote: On 02/05/2010 12:54, Bytecode wrote: Thanks for all the answers. But it still isn't clear to me what Tomcat guys are referring to by a "FORM URL." Looks like this term isn't defined anywhere else in the docs. Read section 3.1.1 of the Servlet 3.0 specification. ..which d

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 12:54, Bytecode wrote: > Thanks for all the answers. But it still isn't clear to me what Tomcat guys > are referring to by a "FORM URL." Looks like this term isn't defined anywhere > else in the docs. Read section 3.1.1 of the Servlet 3.0 specification. Mark ---

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 12:42, André Warnier wrote: > Mark Thomas wrote: >> On 02/05/2010 09:57, Bytecode wrote: >>> According to Tomcat docs, the purpose of maxPostSize is: >>> >>> The maximum size in bytes of the POST which will be handled by the >>> container

Re: The purpose of maxPostSize

2010-05-02 Thread Bytecode
Bytecode wrote: >>> According to Tomcat docs, the purpose of maxPostSize is: >>> >>> 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

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Mark Thomas wrote: On 02/05/2010 09:57, Bytecode wrote: According to Tomcat docs, the purpose of maxPostSize is: 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

Re: The purpose of maxPostSize

2010-05-02 Thread Mark Thomas
On 02/05/2010 09:57, Bytecode wrote: > According to Tomcat docs, the purpose of maxPostSize is: > > 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 tha

Re: The purpose of maxPostSize

2010-05-02 Thread Bytecode
Thanks for the response. It now makes sense, but I still don't understand why this is being referred to as a "FORM URL" or "the container's FORM URL". Thanks in advance, Bytecode On 02/05/2010, at 8:48 PM, André Warnier wrote: > Bytecode wrote: >> A

Re: The purpose of maxPostSize

2010-05-02 Thread André Warnier
Bytecode wrote: According to Tomcat docs, the purpose of maxPostSize is: 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

The purpose of maxPostSize

2010-05-02 Thread Bytecode
According to Tomcat docs, the purpose of maxPostSize is: 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