Author: remy.maucherat(a)jboss.com
Date: 2010-09-17 10:20:24 -0400 (Fri, 17 Sep 2010)
New Revision: 1553
Modified:
branches/2.1.x/java/org/apache/jasper/Constants.java
branches/2.1.x/webapps/docs/changelog.xml
Log:
- Port JBWEB-180.
Modified: branches/2.1.x/java/org/apache/jasper/Constants.java
===================================================================
--- branches/2.1.x/java/org/apache/jasper/Constants.java 2010-09-16 13:35:21 UTC (rev
1552)
+++ branches/2.1.x/java/org/apache/jasper/Constants.java 2010-09-17 14:20:24 UTC (rev
1553)
@@ -78,7 +78,7 @@
/**
* Default size of the JSP buffer.
*/
- public static final int DEFAULT_BUFFER_SIZE = 8 * 1024;
+ public static final int DEFAULT_BUFFER_SIZE =
Integer.parseInt(System.getProperty("org.apache.jasper.Constants.DEFAULT_BUFFER_SIZE",
"8192"));
/**
* Default size for the tag buffers.
Modified: branches/2.1.x/webapps/docs/changelog.xml
===================================================================
--- branches/2.1.x/webapps/docs/changelog.xml 2010-09-16 13:35:21 UTC (rev 1552)
+++ branches/2.1.x/webapps/docs/changelog.xml 2010-09-17 14:20:24 UTC (rev 1553)
@@ -29,6 +29,14 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Jasper">
+ <changelog>
+ <fix>
+ <jira>180</jira>: Add system property to configure default buffer
size.
+ Submitted by James Livingston. (remm)
+ </fix>
+ </changelog>
+ </subsection>
</section>
<section name="JBoss Web 2.1.9.GA (remm)">