You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2001/06/22 21:57:07 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core BufferedServletOutputStream.java
marcsaeg 01/06/22 12:57:07
Modified: src/share/org/apache/tomcat/core Tag: tomcat_32
BufferedServletOutputStream.java
Log:
Set usingWriter to false in recycle(). This fixes part of bug 1802, the other part, regarding flushing PrintWriters I'm going to forego at this point becuase I think the risk is too high and there is a work around, use ServletRequest.flushBuffer().
PR: 1802
Submitted by: joe@ipsoft.de
Revision Changes Path
No revision
No revision
1.14.2.3 +4 -3 jakarta-tomcat/src/share/org/apache/tomcat/core/Attic/BufferedServletOutputStream.java
Index: BufferedServletOutputStream.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Attic/BufferedServletOutputStream.java,v
retrieving revision 1.14.2.2
retrieving revision 1.14.2.3
diff -u -r1.14.2.2 -r1.14.2.3
--- BufferedServletOutputStream.java 2000/11/10 06:42:48 1.14.2.2
+++ BufferedServletOutputStream.java 2001/06/22 19:57:06 1.14.2.3
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Attic/BufferedServletOutputStream.java,v 1.14.2.2 2000/11/10 06:42:48 craigmcc Exp $
- * $Revision: 1.14.2.2 $
- * $Date: 2000/11/10 06:42:48 $
+ * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Attic/BufferedServletOutputStream.java,v 1.14.2.3 2001/06/22 19:57:06 marcsaeg Exp $
+ * $Revision: 1.14.2.3 $
+ * $Date: 2001/06/22 19:57:06 $
*
* ====================================================================
*
@@ -309,6 +309,7 @@
bufferCount = 0;
totalCount = 0;
closed = false;
+ usingWriter = false;
}
}