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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5be64d2da NUTCH-3004 -- propagate ssl exception if message doesn't 
match "handshake alert..."
     new 45c9de3ef Merge pull request #778 from tballison/NUTCH-3004
5be64d2da is described below

commit 5be64d2dad755f55980a1ea767abfb8e9fcc808a
Author: tballison <talli...@apache.org>
AuthorDate: Mon Sep 25 09:09:20 2023 -0400

    NUTCH-3004 -- propagate ssl exception if message doesn't match "handshake 
alert..."
---
 .../src/java/org/apache/nutch/protocol/http/HttpResponse.java         | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
 
b/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
index 260a7c19c..48918dc51 100644
--- 
a/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
+++ 
b/src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
@@ -150,6 +150,10 @@ public class HttpResponse implements Response {
                   + e.getMessage();
               throw new HttpException(msg);
             }
+          } else {
+            String msg = "SSL connect to " + url + " failed with: "
+                    + e.getMessage();
+            throw new HttpException(msg, e);
           }
         }
         socket = sslsocket;

Reply via email to