Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 33372 invoked from network); 15 Nov 2003 20:20:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Nov 2003 20:20:44 -0000 Received: (qmail 9293 invoked by uid 500); 15 Nov 2003 20:20:28 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 9251 invoked by uid 500); 15 Nov 2003 20:20:27 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 9236 invoked from network); 15 Nov 2003 20:20:27 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 15 Nov 2003 20:20:27 -0000 Received: (qmail 33353 invoked from network); 15 Nov 2003 20:20:37 -0000 Received: from unknown (HELO apache.org) (127.0.0.1) by localhost with SMTP; 15 Nov 2003 20:20:37 -0000 Message-ID: <3FB68A8D.60507@apache.org> Date: Sat, 15 Nov 2003 21:20:29 +0100 From: Remy Maucherat User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteConnector.java CoyoteRequest.java LocalStrings.properties References: <20031115094502.63340.qmail@minotaur.apache.org> <3FB636DB.6040003@joedog.org> In-Reply-To: <3FB636DB.6040003@joedog.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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. Remy --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org