tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
Date Sun, 12 Sep 2004 20:39:12 GMT
markt       2004/09/12 13:39:12

  Modified:    http11/src/java/org/apache/coyote/http11 Tag: TOMCAT_5_0
                        Http11Processor.java
  Log:
  Backport fix for bug 16254
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.100.2.2 +3 -1      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.100.2.1
  retrieving revision 1.100.2.2
  diff -u -r1.100.2.1 -r1.100.2.2
  --- Http11Processor.java	25 Aug 2004 20:44:15 -0000	1.100.2.1
  +++ Http11Processor.java	12 Sep 2004 20:39:12 -0000	1.100.2.2
  @@ -1507,7 +1507,9 @@
           }
            
           // Add server header
  -        response.addHeader("Server", Constants.SERVER);
  +        if (! response.containsHeader("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