mirror of https://github.com/apache/jmeter.git
40438 - setting "httpclient.localaddress" has no effect
Added hostconfig to httpclient object
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@441167 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: cb3d0738c0
This commit is contained in:
parent
991d1d3f2d
commit
ecbb959952
|
|
@ -262,6 +262,7 @@ public class HTTPSampler2 extends HTTPSamplerBase {
|
|||
if ( httpClient == null )
|
||||
{
|
||||
httpClient = new HttpClient(new SimpleHttpConnectionManager());
|
||||
httpClient.setHostConfiguration(hc);
|
||||
map.put(hc, httpClient);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue