Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Konstantin Kolinko
2012/1/4 S Ahmed sahmed1...@gmail.com: Say I have a simple servlet or spring mvc application running on tomcat. Tomcat is running as a webserver on port 80. A client makes a http POST request to my page www.example.com/submit If the client adds a very large file with the POST, does this

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread S Ahmed
Tomcat 6 Spring MVC, where my controllers method has both httpservletrequest and httpservletresponse as parameters. The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a form post). I'm assuming once it is sent by the client as

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread André Warnier
S Ahmed wrote: Tomcat 6 Spring MVC, where my controllers method has both httpservletrequest and httpservletresponse as parameters. The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a form post). I'm assuming once it is sent

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Daniel Mikusa
On Wed, 2012-01-04 at 10:47 -0800, S Ahmed wrote: Tomcat 6 Spring MVC, where my controllers method has both httpservletrequest and httpservletresponse as parameters. The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread S Ahmed
But if you call certain APIs (e.g. getParameter()) the call will hang until entire POST request body is received from the client and processed. So this means if you don't reference request.getParameter then it won't be streamed from the client? The reason I am asking is I will perform api

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread André Warnier
S Ahmed wrote: But if you call certain APIs (e.g. getParameter()) the call will hang until entire POST request body is received from the client and processed. So this means if you don't reference request.getParameter then it won't be streamed from the client? The reason I am asking is I will

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 1/4/12 1:03 PM, Konstantin Kolinko wrote: But if you call certain APIs (e.g. getParameter()) the call will hang until entire POST request body is received from the client and processed. It is said that those methods consume the body

Re: clarification on how data is streamed and handled by tomcat

2012-01-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ahmed, On 1/4/12 1:47 PM, S Ahmed wrote: The point is that I want to know the effects of others sending me large values in a http post (not an image upload, but a form post). I'm assuming once it is sent by the client as a http post, and my