glenn       02/04/09 06:19:20

  Modified:    catalina/src/share/org/apache/catalina/connector
                        LocalStrings.properties
  Log:
  Fix for a bug where parseParameters() could go into an infinite loop
  trying to read the HTTP Request POST content if the content sent was
  less than the content length. If this happens an unchecked RuntimeException()
  is thrown.  This bug was seen using mod_jk and Ajp13.
  
  Throw the unchecked RuntimeException() if there is an IOException.
  Previously IOExceptions had been ignored, the request should fail
  if there was an IOException.
  
  Revision  Changes    Path
  1.6       +2 -0      
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/LocalStrings.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LocalStrings.properties   25 Jul 2001 04:27:29 -0000      1.5
  +++ LocalStrings.properties   9 Apr 2002 13:19:20 -0000       1.6
  @@ -1,4 +1,6 @@
   httpRequestBase.createCommitted=Cannot create a session after the response has been 
committed
  +httpRequestBase.contentLengthMismatch=Read of HTTP Request POST parameters failed: 
read < content length
  +httpRequestBase.contentReadFail=Read of HTTP Request POST parameters failed: 
   httpResponseBase.sendError.ise=Cannot call sendError() after the response has been 
committed
   httpResponseBase.sendRedirect.ise=Cannot call sendRedirect() after the response has 
been committed
   requestBase.getInputStream.ise=getReader() has already been called for this request
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to