tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r672454 - /tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java
Date Sat, 28 Jun 2008 02:11:49 GMT
Author: billbarker
Date: Fri Jun 27 19:11:48 2008
New Revision: 672454

URL: http://svn.apache.org/viewvc?rev=672454&view=rev
Log:
port fix for BZ 36155 from the JK Connector

Modified:
    tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java?rev=672454&r1=672453&r2=672454&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java Fri Jun 27 19:11:48 2008
@@ -330,6 +330,7 @@
             return;
         }
         mb.setBytes(buf, pos, length);
+        mb.getCharChunk().recycle(); // not valid anymore
         pos += length;
         pos++; // Skip the terminating \0
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message