tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <>
Subject Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5
Date Sat, 15 Nov 2003 20:20:29 GMT
Tim Funk wrote:
> I like this idea. But if the client sends too much data, it appears 
> there will be no post data for the Servlet/JSP to process causing 
> strange user errors. (User: "Why is getParameter(...) null?")
> Should an error of SC_REQUEST_ENTITY_TOO_LARGE be sent instead?  Of 
> course, checking this too early before the user has chance to use a 
> reader or input stream could also cause problems.

For now, the error is logged, and that's it.

> I guess I don't know what I want, but I wonder what to say in the future 
> in case the assumption above is correct and I see a tomcat-user post 
> about this.
> Would it also be reasonable to allow a value of 0 (or -1) to disable 
> this feature?

-1 for unlimited sounds good to me. I should have tought about that. 
Good catch.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message