Author: kwright
Date: Wed Jan 9 21:38:10 2013
New Revision: 1431105
URL: http://svn.apache.org/viewvc?rev=1431105&view=rev
Log:
Fix for CONNECTORS-604.
Modified:
manifoldcf/trunk/CHANGES.txt
manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
Modified: manifoldcf/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1431105&r1=1431104&r2=1431105&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Wed Jan 9 21:38:10 2013
@@ -3,6 +3,9 @@ $Id$
======================= 1.1-dev =====================
+CONNECTORS-604: Make headers exactly the same as for MCF 1.0.1.
+(Shinichiro Abe, Karl Wright)
+
CONNECTORS-605: Maven build is broken: commons-httpclient version is missing
(Piergiorgio Lucidi)
Modified:
manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java?rev=1431105&r1=1431104&r2=1431105&view=diff
==============================================================================
---
manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
(original)
+++
manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/ThrottledFetcher.java
Wed Jan 9 21:38:10 2013
@@ -1296,7 +1296,7 @@ public class ThrottledFetcher
sb.append("://").append(server).append(displayedPort).append(urlPath);
String fetchUrl = sb.toString();
- HttpHost fetchHost = new HttpHost(server,resolvedPort,protocol);
+ HttpHost fetchHost = new HttpHost(server,port,protocol);
HttpHost hostHost;
if (host != null)