Author: sagara
Date: Wed May 30 09:37:07 2012
New Revision: 1344171

URL: http://svn.apache.org/viewvc?rev=1344171&view=rev
Log:
Applied patch for AXIS2-5313. 

Modified:
    
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java

Modified: 
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java?rev=1344171&r1=1344170&r2=1344171&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/impl/httpclient3/HTTPSenderImpl.java
 Wed May 30 09:37:07 2012
@@ -516,7 +516,10 @@ public class HTTPSenderImpl extends HTTP
 
         // 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.


Reply via email to