hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r493118 - /jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/http/conn/ssl/TestSSLSocketFactory.java
Date Fri, 05 Jan 2007 18:27:09 GMT
Author: rolandw
Date: Fri Jan  5 10:27:08 2007
New Revision: 493118

URL: http://svn.apache.org/viewvc?view=rev&rev=493118
Log:
fixed test case

Modified:
    jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/http/conn/ssl/TestSSLSocketFactory.java

Modified: jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/http/conn/ssl/TestSSLSocketFactory.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/http/conn/ssl/TestSSLSocketFactory.java?view=diff&rev=493118&r1=493117&r2=493118
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/http/conn/ssl/TestSSLSocketFactory.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/src/test/org/apache/http/conn/ssl/TestSSLSocketFactory.java
Fri Jan  5 10:27:08 2007
@@ -144,7 +144,7 @@
             int port = serverSocket.getLocalPort();
             // System.out.println("\nlistening on port: " + port);
 
-            SSLSocketFactory ssf = new SSLSocketFactory();
+            SSLSocketFactory ssf = SSLSocketFactory.getSocketFactory();
             ssf.setHostnameVerifier(HostnameVerifier.ALLOW_ALL);
 
             // Test 1 - createSocket()



Mime
View raw message