cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon Engine.java
Date Wed, 16 Feb 2000 01:12:29 GMT
stefano     00/02/15 17:12:29

  Modified:    src/org/apache/cocoon Engine.java
  Log:
  removed freememory output that could give DoS attackers too much information about the system
  
  Revision  Changes    Path
  1.18      +3 -3      xml-cocoon/src/org/apache/cocoon/Engine.java
  
  Index: Engine.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Engine.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Engine.java	2000/02/14 00:59:18	1.17
  +++ Engine.java	2000/02/16 01:12:29	1.18
  @@ -1,4 +1,4 @@
  -/*-- $Id: Engine.java,v 1.17 2000/02/14 00:59:18 stefano Exp $ --
  +/*-- $Id: Engine.java,v 1.18 2000/02/16 01:12:29 stefano Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -72,7 +72,7 @@
    * This class implements the engine that does all the document processing.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version $Revision: 1.17 $ $Date: 2000/02/14 00:59:18 $
  + * @version $Revision: 1.18 $ $Date: 2000/02/16 01:12:29 $
    */
   
   public class Engine implements Defaults {
  @@ -339,7 +339,7 @@
                       + (page.isCached() ? "from cache " : "")
                       + "in " + time + " milliseconds by "
                       + Cocoon.version() + " -->");
  -                out.println("<!-- free memory: " + Runtime.getRuntime().freeMemory()
+ " -->");
  +                //out.println("<!-- free memory: " + Runtime.getRuntime().freeMemory()
+ " -->");
               }
   
               // send all content so that client doesn't wait while caching.
  
  
  

Mime
View raw message