tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Gooding <>
Subject Re: Bug 37794 - Parameters, chunked requests and maxPostSize
Date Tue, 16 Jun 2009 10:54:11 GMT

Let me ask this.  What is the maxPostSize in Tomcat?    I'm ok with "a" but
I'm trying to think ahead in how to make an extremely large POST acceptable
maybe for 7.  I have not hit the maxPostSize at all, and I have uploaded
some large (+20MB) files with tomcat.  Let me see if I can successfully
reproduce the bug.  Would there be  way to remove the maxPostSize cap and
accept what ever the user puts in there size wise?


- Josh

On Mon, Jun 15, 2009 at 8:07 PM, Tim Funk <> wrote:

> Yes chunked requests on POST are OK. I like option a too.
> -Tim
> Mark Thomas wrote:
>> For chunked request bodies, the content length is unknown. We can track
>> how many bytes we have read. If we read more the maxPostSize, what do we
>> do?
>> a) Throw an exception that leads to a 500 response?
>> b) Drop what we have read already and ignore the rest?
>> c) Process what we have already and ignore the rest (there will almost
>> certainly be some invalid data at the end of the buffer in this case -
>> this will be skipped)?
>> d) Something else?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message