Author: markt
Date: Thu Jun 4 14:43:39 2009
New Revision: 781758
URL: http://svn.apache.org/viewvc?rev=781758&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46562
Close the reader when we are done
Modified:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/ssi/SSIServlet.java
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
Modified:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/ssi/SSIServlet.java
URL:
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/ssi/SSIServlet.java?rev=781758&r1=781757&r2=781758&view=diff
==============================================================================
---
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/ssi/SSIServlet.java
(original)
+++
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/ssi/SSIServlet.java
Thu Jun 4 14:43:39 2009
@@ -249,5 +249,6 @@
String text = stringWriter.toString();
res.getWriter().write(text);
}
+ bufferedReader.close();
}
}
Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=781758&r1=781757&r2=781758&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Thu Jun 4 14:43:39 2009
@@ -191,6 +191,10 @@
<bug>46509</bug>: Use correct link on error page in JSP security
example. Patch provided by Michael Moody. (markt)
</fix>
+ <fix>
+ <bug>46562</bug>: Close file when reading has finished when using SSI.
+ (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote" >
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]