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-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
Date Mon, 13 Sep 2004 18:25:08 GMT
remm        2004/09/13 11:25:08

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  - Revert patch. I disalike patches which cause a performance hit for the sole interest of
embeddors who don't contribute anything. The
    X-Powered-By header may be used for the same purpose, and is actually specified in the
spec.
  
  Revision  Changes    Path
  1.108     +1 -3      jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
  
  Index: Http11Processor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -r1.107 -r1.108
  --- Http11Processor.java	1 Sep 2004 10:10:11 -0000	1.107
  +++ Http11Processor.java	13 Sep 2004 18:25:08 -0000	1.108
  @@ -1511,9 +1511,7 @@
           }
            
           // Add server header
  -        if (! response.containsHeader("Server")){
  -            response.addHeader("Server", Constants.SERVER);
  -        }
  +        response.addHeader("Server", Constants.SERVER);
   
           // Add transfer encoding header
           // FIXME
  
  
  

---------------------------------------------------------------------
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