You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Danni Als (JIRA)" <ji...@apache.org> on 2012/05/03 14:50:51 UTC
[jira] [Updated] (AXIS2-5313) 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.
[ https://issues.apache.org/jira/browse/AXIS2-5313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Danni Als updated AXIS2-5313:
-----------------------------
Attachment: hostconfig.patch
> 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
> Attachments: hostconfig.patch
>
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org