Danni Als created AXIS2-5313:
--------------------------------
Summary: Client host configurations set by the client were not
used. Instead a new configuration object was made. The fix checks for if any
configurations are already set before initializing new host configuration.
Key: AXIS2-5313
URL: https://issues.apache.org/jira/browse/AXIS2-5313
Project: Axis2
Issue Type: Bug
Components: transports
Affects Versions: 1.6.2
Reporter: Danni Als
Priority: Minor
Index:
modules/transport/http/src/org/apache/axis2/transport/http/AbstractHTTPSender.java
===================================================================
---
modules/transport/http/src/org/apache/axis2/transport/http/AbstractHTTPSender.java
(revision 1333418)
+++
modules/transport/http/src/org/apache/axis2/transport/http/AbstractHTTPSender.java
(working copy)
@@ -268,8 +268,10 @@
}
// to see the host is a proxy and in the proxy list - available in
axis2.xml
- HostConfiguration config = new HostConfiguration();
-
+ HostConfiguration config = client.getHostConfiguration();
+ if(config == null){
+ config = new HostConfiguration();
+ }
// one might need to set his own socket factory. Let's allow that case
as well.
Protocol protocolHandler =
(Protocol)msgCtx.getOptions().getProperty(HTTPConstants.CUSTOM_PROTOCOL_HANDLER);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]