Apache Nutch is an extensible and scalable web crawler
NUTCH-3004 -- propagate ssl exception if message doesn't match "handshake alert..."
tballison5be64d2dad75
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.javaindex 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;