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/catalina/valves ErrorReportValve.java
Date Wed, 09 Oct 2002 12:42:51 GMT
remm        2002/10/09 05:42:51

  Modified:    catalina/src/share/org/apache/catalina/valves
                        ErrorReportValve.java
  Log:
  - Port patch.
  
  Revision  Changes    Path
  1.3       +6 -9      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java
  
  Index: ErrorReportValve.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ErrorReportValve.java	12 Sep 2002 06:44:25 -0000	1.2
  +++ ErrorReportValve.java	9 Oct 2002 12:42:51 -0000	1.3
  @@ -250,11 +250,8 @@
           if (message == null)
               message = "";
   
  -        // Do nothing on a 1xx and 2xx status
  -        if (statusCode < 300)
  -            return;
  -        // Do nothing on a NOT MODIFIED status
  -        if (statusCode == HttpServletResponse.SC_NOT_MODIFIED)
  +        // Do nothing on a 1xx, 2xx and 3xx status
  +        if (statusCode < 400)
               return;
   
           // FIXME: Reset part of the request
  
  
  

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


Mime
View raw message