hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1080163 - /httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
Date Thu, 10 Mar 2011 09:24:57 GMT
Author: olegk
Date: Thu Mar 10 09:24:57 2011
New Revision: 1080163

URL: http://svn.apache.org/viewvc?rev=1080163&view=rev
Log:
Use SSL socket factory to create unconnected sockets

Modified:
    httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java

Modified: httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java?rev=1080163&r1=1080162&r2=1080163&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
(original)
+++ httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java
Thu Mar 10 09:24:57 2011
@@ -339,12 +339,12 @@ public class SSLSocketFactory implements
      * @since 4.1
      */
     public Socket createSocket(final HttpParams params) throws IOException {
-        return new Socket();
+        return this.socketfactory.createSocket();
     }
 
     @Deprecated
     public Socket createSocket() throws IOException {
-        return new Socket();
+        return this.socketfactory.createSocket();
     }
 
     /**



Mime
View raw message