Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50228
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 7 Nov 2010 09:11:00 +0000 (09:11 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 7 Nov 2010 09:11:00 +0000 (09:11 +0000)
commit24488555ac39e4da31b9bc43dfad0d6902f6bcbf
treec7fe44759cb6c81103e0497af6153a91af1470c7
parent1a2e3940d0dc2c539cc14523fe72b2c68b66aaf6
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50228
Clear the reference to a writer when BodyContentImpl is recycled.

By the way, this calls BodyContentImpl.clear() which recycles the buffer if it is grown too big. Recycling it early is good.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1032232 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/jasper/runtime/PageContextImpl.java