costin      2002/11/06 07:38:45

  Modified:    jasper2/src/share/org/apache/jasper/runtime Tag:
                        tomcat_4_branch PageContextImpl.java
  Log:
  Revert the flush-in-release patch for 4.1 tree.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.3  +1 -4      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java
  
  Index: PageContextImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
  retrieving revision 1.11.2.2
  retrieving revision 1.11.2.3
  diff -u -r1.11.2.2 -r1.11.2.3
  --- PageContextImpl.java      29 Oct 2002 22:29:05 -0000      1.11.2.2
  +++ PageContextImpl.java      6 Nov 2002 15:38:44 -0000       1.11.2.3
  @@ -178,10 +178,7 @@
                ((JspWriterImpl)out).flushBuffer();
                        // push it into the including jspWriter
            } else {
  -             //out.flush();
  -             // As discussed on the main list - this allows Content-Length
  -                // to work with servlets 
  -                ((JspWriterImpl)out).flushBuffer();
  +             out.flush();
            }
        } catch (IOException ex) {
            loghelper.log("Internal error flushing the buffer in release()");
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Reply via email to