You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2018/10/25 01:29:14 UTC

[cxf] branch master updated: [CXF-7876]more change

This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 9494e7c  [CXF-7876]more change
9494e7c is described below

commit 9494e7c621b126bbec34f3fe4bfc2cac4066bdb7
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Thu Oct 25 09:28:52 2018 +0800

    [CXF-7876]more change
---
 .../apache/cxf/transport/https/httpclient/DefaultHostnameVerifier.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/httpclient/DefaultHostnameVerifier.java b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/httpclient/DefaultHostnameVerifier.java
index c9c5802..7446174 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/https/httpclient/DefaultHostnameVerifier.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/https/httpclient/DefaultHostnameVerifier.java
@@ -86,7 +86,7 @@ public final class DefaultHostnameVerifier implements HostnameVerifier {
             if (LOG.isLoggable(Level.FINE)) {
                 LOG.log(Level.FINE, ex.getMessage(), ex);
             }
-            return false;
+            throw new RuntimeException("HostnameVerifier, socket reset for TTL");
         }
     }