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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to