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 Sun, 13 Jul 2003 21:53:07 GMT
billbarker    2003/07/13 14:53:07

  Modified:    http11/src/java/org/apache/coyote/http11 Tag: coyote_10
                        Http11Processor.java
  Log:
  Porting patch.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.55.2.3  +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.55.2.2
  retrieving revision 1.55.2.3
  diff -u -r1.55.2.2 -r1.55.2.3
  --- Http11Processor.java	6 Jul 2003 06:23:40 -0000	1.55.2.2
  +++ Http11Processor.java	13 Jul 2003 21:53:07 -0000	1.55.2.3
  @@ -1215,7 +1215,7 @@
   
           // If we know that the request is bad this early, add the
           // Connection: close header.
  -        keepAlive = keepAlive && statusDropsConnection(statusCode);
  +        keepAlive = keepAlive && !statusDropsConnection(statusCode);
           if (!keepAlive) {
               response.addHeader("Connection", "close");
           } else if (!http11) {
  
  
  

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