/[Apache-SVN]
ViewVC logotype

Revision 1528526


Jump to revision: Previous Next
Author: jboynes
Date: Wed Oct 2 15:48:37 2013 UTC (10 years, 6 months ago)
Changed paths: 2
Log Message:
Apply patch from Dan Armstrong for bug #55608 <fmt:bundle> tag unnecessarily buffers body content

This change prevents double buffering by returning EVAL_BODY_INCLUDE so the content is written directly to the JSP writer's buffer rather than being held in an unbounded buffer in bodyContent until doEndTag(). This reduces memory consumption especially with large bodies. As a consequence of this change, the body content may now be flushed before the end of the tag thereby committing the response. Users relying on the buffering side-effect to recover from Exceptions raised in the body should now handle them explicitly.

Changed paths

Path Details
Directorytomcat/taglibs/standard/trunk/impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/BundleSupport.java modified , text changed
Directorytomcat/taglibs/standard/trunk/jstlel/pom.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26