Always reset the MB when doing getBytes
authorbillbarker <billbarker@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 20 May 2007 22:28:47 +0000 (22:28 +0000)
committerbillbarker <billbarker@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 20 May 2007 22:28:47 +0000 (22:28 +0000)
commitd9a026b0989bad14ddab4a75907f18d1e0d6842e
treedbac9f3f1355ac147c4f7947109d7cc687b6a17a
parent527e19a5c1bef5df9ae1e99b89ff2d425d9d41e9
Always reset the MB when doing getBytes

Fix for bug #36155

1) an unconditional reset is cheap if I'm going to call MB.setBytes
2) the JK connector doesn't support any charset except iso-latin-1 anyway
3) This particular connector is on the fast track to deprecated

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@539971 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/jk/common/MsgAjp.java