Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-126 Fetching via https doesn't work with a proxy.

Andrzej Bialecki17f3fd726b78
diff --git a/CHANGES.txt b/CHANGES.txt
index 63da198ff..c357a788a 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -227,6 +227,8 @@ Unreleased changes (1.0-dev)
82. NUTCH-575 - NPE in OpenSearchServlet (John H. Lee via ab)
+83. NUTCH-126 - Fetching https does not work with a proxy (Fritz Elfert via ab)
+
Release 0.9 - 2007-04-02
1. Changed log4j confiquration to log to stdout on commandline
diff --git a/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/DummySSLProtocolSocketFactory.java b/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/DummySSLProtocolSocketFactory.java
index 47d136ec0..b1950d07b 100644
--- a/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/DummySSLProtocolSocketFactory.java
+++ b/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/DummySSLProtocolSocketFactory.java
@@ -34,14 +34,14 @@ import org.apache.commons.httpclient.ConnectTimeoutException;
import org.apache.commons.httpclient.HttpClientError;
import org.apache.commons.httpclient.params.HttpConnectionParams;
import org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory;
-import org.apache.commons.httpclient.protocol.ProtocolSocketFactory;
+import org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
-public class DummySSLProtocolSocketFactory implements ProtocolSocketFactory {
+public class DummySSLProtocolSocketFactory implements SecureProtocolSocketFactory {
/** Log object for this class. */
private static final Log LOG = LogFactory.getLog(DummySSLProtocolSocketFactory.class);