Author: kwright
Date: Fri Apr 4 14:46:10 2014
New Revision: 1584727
URL: http://svn.apache.org/r1584727
Log:
Hack things to the point that they build at least
Modified:
manifoldcf/branches/CONNECTORS-911/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
Modified:
manifoldcf/branches/CONNECTORS-911/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-911/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java?rev=1584727&r1=1584726&r2=1584727&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-911/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
(original)
+++
manifoldcf/branches/CONNECTORS-911/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
Fri Apr 4 14:46:10 2014
@@ -486,7 +486,7 @@ public class ThrottledFetcher
}
httpClient = HttpClients.custom()
- .setConnectionManager(connectionManager)
+ .setConnectionManager(connManager)
.setMaxConnTotal(1)
.setMaxConnPerRoute(1)
.disableAutomaticRetries()
@@ -548,7 +548,7 @@ public class ThrottledFetcher
{
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug("WEB: For "+myUrl+", setting virtual host
to "+host);
-
httpClient.getParams().setParameter(ClientPNames.VIRTUAL_HOST,hostHost);
+ // ???
httpClient.getParams().setParameter(ClientPNames.VIRTUAL_HOST,hostHost);
}
@@ -1331,7 +1331,7 @@ public class ThrottledFetcher
/** The fetch throttler */
protected final IFetchThrottler fetchThrottler;
/** Client and method, all preconfigured */
- protected final AbstractHttpClient httpClient;
+ protected final HttpClient httpClient;
protected final HttpRequestBase executeMethod;
protected final CookieStore cookieStore;
@@ -1350,7 +1350,7 @@ public class ThrottledFetcher
protected Throwable generalException = null;
public ExecuteMethodThread(ThrottledConnection theConnection,
IFetchThrottler fetchThrottler,
- AbstractHttpClient httpClient, HttpRequestBase executeMethod,
CookieStore cookieStore)
+ HttpClient httpClient, HttpRequestBase executeMethod, CookieStore
cookieStore)
{
super();
setDaemon(true);