Author: sebb
Date: Thu Mar 24 00:53:45 2011
New Revision: 1084822
URL: http://svn.apache.org/viewvc?rev=1084822&view=rev
Log:
Bug 50963 - AjpSampler throws java.lang.StringIndexOutOfBoundsException
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
jakarta/jmeter/trunk/xdocs/changes.xml
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java?rev=1084822&r1=1084821&r2=1084822&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
(original)
+++
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java
Thu Mar 24 00:53:45 2011
@@ -442,6 +442,7 @@ public class AjpSampler extends HTTPSamp
int thn = peekInt();
if((thn & 0xff00) == AJP_HEADER_BASE) {
name = headerTransArray[(thn&0xff)-1];
+ getInt(); // we need to use up the int now
} else {
name = getString();
}
Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=1084822&r1=1084821&r2=1084822&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Thu Mar 24 00:53:45 2011
@@ -82,6 +82,7 @@ This is internal to the workings of the
<li>Bug 50178 - HeaderManager added as child of Thread Group can create
concatenated HeaderManager names and OutOfMemoryException</li>
<li>Bug 50392 - value is trimmed when sending the request in Multipart</li>
<li>Bug 50686 - HeaderManager logging to verbose when merging instances</li>
+<li>Bug 50963 - AjpSampler throws
java.lang.StringIndexOutOfBoundsException</li>
</ul>
<h3>Other Samplers</h3>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]