tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
Date Mon, 22 Nov 2004 06:42:46 GMT
billbarker    2004/11/21 22:42:46

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  Reverting reversion of patch ;-)
  
  Revision  Changes    Path
  1.115     +1 -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.114
  retrieving revision 1.115
  diff -u -r1.114 -r1.115
  --- Http11Processor.java	20 Nov 2004 21:59:49 -0000	1.114
  +++ Http11Processor.java	22 Nov 2004 06:42:46 -0000	1.115
  @@ -1542,7 +1542,7 @@
           keepAlive = keepAlive && !statusDropsConnection(statusCode);
           if (!keepAlive) {
               headers.addValue(Constants.CONNECTION).setString(Constants.CLOSE);
  -        } else if (!http11) {
  +        } else if (!http11 && !error) {
               headers.addValue(Constants.CONNECTION).setString(Constants.KEEPALIVE);
           }
   
  
  
  

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