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 Tue, 14 Oct 2003 21:35:21 GMT
remm        2003/10/14 14:35:21

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  - If no keepalive, don't use chunking.
  
  Revision  Changes    Path
  1.83      +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.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- Http11Processor.java	7 Oct 2003 08:48:37 -0000	1.82
  +++ Http11Processor.java	14 Oct 2003 21:35:21 -0000	1.83
  @@ -1409,7 +1409,7 @@
                   (outputFilters[Constants.IDENTITY_FILTER]);
               contentDelimitation = true;
           } else {
  -            if (entityBody && http11) {
  +            if (entityBody && http11 && keepAlive) {
                   outputBuffer.addActiveFilter
                       (outputFilters[Constants.CHUNKED_FILTER]);
                   contentDelimitation = true;
  
  
  

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