tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime PageContextImpl.java
Date Tue, 29 Oct 2002 22:29:05 GMT
costin      2002/10/29 14:29:05

  Modified:    jasper2/src/share/org/apache/jasper/runtime Tag:
                        tomcat_4_branch PageContextImpl.java
  Log:
  Port from the main branch the Content-Length fix.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.2  +7 -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.1
  retrieving revision 1.11.2.2
  diff -u -r1.11.2.1 -r1.11.2.2
  --- PageContextImpl.java	6 Aug 2002 05:31:55 -0000	1.11.2.1
  +++ PageContextImpl.java	29 Oct 2002 22:29:05 -0000	1.11.2.2
  @@ -178,7 +178,10 @@
   		((JspWriterImpl)out).flushBuffer();
   			// push it into the including jspWriter
   	    } else {
  -	        out.flush();
  +	        //out.flush();
  +		// As discussed on the main list - this allows Content-Length
  +                // to work with servlets 
  +                ((JspWriterImpl)out).flushBuffer();
   	    }
   	} 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>


Mime
View raw message