A bug exists (unfortunately) in Tomcat 4.1.16 and Tomcat 4.1.17 which
causes the servlet Writer to stay in an invalid state after an
IOException occurs (99% of the time caused by an abrupt client
disconnection). After this happens, the processor will never be able to
output data using the Writer, causing blank pages. This is more often
seen with JSPs.
The bug affects Coyote HTTP/1.1, and may also affect Coyote JK 2,
although this is less likely.
It is proposed that Tomcat 4.1.18, based on the Tomcat 4.1.17 code, with
the addition of the patch committed by Bill fixing JK 2 SSL support, as
well as the following patch (which I committed one hour ago):
Index: CoyoteResponse.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java,v
retrieving revision 1.30
diff -r1.30 CoyoteResponse.java
322a323,324
> writer.recycle();
>
Index: CoyoteWriter.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteWriter.java,v
retrieving revision 1.2
diff -r1.2 CoyoteWriter.java
98a99,109
> // --------------------------------------------------------
Package Methods
>
>
> /**
> * Recycle.
> */
> void recycle() {
> error = false;
> }
>
>
Please review, and vote ASAP:
<ballot>
[ ] Yes
[ ] No
</ballot>
Remy
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- CoyoteWriter in error, never cleaned up Mark Plotnick
- Re: CoyoteWriter in error, never cleaned up Remy Maucherat
- [QUESTION]: CoyoteWriter in error, never clea... Torsten Fohrer
- Re: [VOTE] Tomcat 4.1.18 release Remy Maucherat
- Re: [VOTE] Tomcat 4.1.18 release Torsten Fohrer
- Re: [VOTE] Tomcat 4.1.18 release Henri Gomez
- Re: [VOTE] Tomcat 4.1.18 release Costin Manolache
- Re: [VOTE] Tomcat 4.1.18 release Jeanfrancois Arcand
- Re: [VOTE] Tomcat 4.1.18 release Mark Plotnick
- Re: [VOTE] Tomcat 4.1.18 release Jess M. Holle
- Re: [VOTE] Tomcat 4.1.18 release Amy Roh
- Re: [VOTE] Tomcat 4.1.18 release Matt Fury
- Re: [VOTE] Tomcat 4.1.18 release Bill Barker
- Re: [VOTE] Tomcat 4.1.18 release Punky Tse