ASF Bugzilla – Attachment 30501 Details for
Bug 55161
Useless processing in SoapSampler.setPostHeaders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.diff (text/plain), 997 bytes, created by
Adrian Nistor
on 2013-06-29 22:05:49 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Adrian Nistor
Created:
2013-06-29 22:05:49 UTC
Size:
997 bytes
patch
obsolete
>Index: src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java >=================================================================== >--- src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (revision 1498029) >+++ src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (working copy) >@@ -137,10 +137,11 @@ > // to use it. > HeaderManager mngr = getHeaderManager(); > int headerSize = mngr.size(); >- for (int idx = 0; idx < headerSize; idx++) { >+ for (int idx = headerSize - 1; idx >= 0; idx--) { > Header hd = mngr.getHeader(idx); > if (HTTPConstants.HEADER_CONTENT_LENGTH.equalsIgnoreCase(hd.getName())) {// Use this to override file length > length = Integer.parseInt(hd.getValue()); >+ break; > } > // All the other headers are set up by HTTPSampler2.setupConnection() > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 55161
: 30501 |
30502