You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2017/01/26 16:53:39 UTC

cxf git commit: CXF-7233 - Create workaround for JDK HostnameVerifier issue

Repository: cxf
Updated Branches:
  refs/heads/master bf5dee134 -> eadbdb1a2


CXF-7233 - Create workaround for JDK HostnameVerifier issue


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/eadbdb1a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/eadbdb1a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/eadbdb1a

Branch: refs/heads/master
Commit: eadbdb1a287b0d4659f81f75857d0b19fbc69fcb
Parents: bf5dee1
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Thu Jan 26 16:53:17 2017 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Thu Jan 26 16:53:34 2017 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/transport/https/SSLSocketFactoryWrapper.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/eadbdb1a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLSocketFactoryWrapper.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLSocketFactoryWrapper.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLSocketFactoryWrapper.java
index 754c5de..1a4a048 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLSocketFactoryWrapper.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLSocketFactoryWrapper.java
@@ -59,12 +59,12 @@ class SSLSocketFactoryWrapper extends SSLSocketFactory {
     public String[] getSupportedCipherSuites() {
         return sslSocketFactory.getSupportedCipherSuites(); 
     }
-    
+    /*
     public Socket createSocket() throws IOException {
         return enableCipherSuites(sslSocketFactory.createSocket(), 
                                   new Object[] {"unconnected", "unconnected"});
     }
-        
+    */  
     public Socket createSocket(Socket s, String host, int port, boolean autoClose)
         throws IOException, UnknownHostException  {
         return enableCipherSuites(sslSocketFactory.createSocket(s, host, port, autoClose),