tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteRequest.java
Date Sun, 16 Nov 2003 21:05:43 GMT
remm        2003/11/16 13:05:43

  Modified:    catalina/src/share/org/apache/coyote/tomcat5
                        CoyoteRequest.java
  Log:
  - Revert my patch for now, but I'll reaply it tomorrow before tagging (since a fix
    for the underlying issue is obviously needed) if I don't
    get a convincing use case as to why it is bad :)
  
  Revision  Changes    Path
  1.20      +4 -9      jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteRequest.java
  
  Index: CoyoteRequest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteRequest.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- CoyoteRequest.java	15 Nov 2003 20:28:37 -0000	1.19
  +++ CoyoteRequest.java	16 Nov 2003 21:05:43 -0000	1.20
  @@ -2320,11 +2320,6 @@
           int len = getContentLength();
   
           if (len > 0) {
  -            int maxPostSize = ((CoyoteConnector) connector).getMaxPostSize();
  -            if ((maxPostSize > 0) && (len > maxPostSize)) {
  -                log(sm.getString("coyoteRequest.postTooLarge"));
  -                return;
  -            }
               try {
                   byte[] formData = null;
                   if (len < CACHED_POST_LEN) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message