mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-17 07:26:47 +00:00
fixed test case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@493118 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d35c93558c
commit
fe3d1bfb62
@ -144,7 +144,7 @@ public void testCreateSocket() throws Exception {
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user