From 9ded4e8d5a2dd5d5f9b1a7cb9fe21d9495a57bca Mon Sep 17 00:00:00 2001 From: theli Date: Mon, 4 Sep 2006 11:26:53 +0000 Subject: [PATCH] *) Bugfix for name resolution in proxy mode See: http://www.yacy-forum.de/viewtopic.php?p=25241 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2478 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaSwitchboard.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java index f10a893aa..bee35bae3 100644 --- a/source/de/anomic/plasma/plasmaSwitchboard.java +++ b/source/de/anomic/plasma/plasmaSwitchboard.java @@ -839,8 +839,10 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser * ========================================================================= */ InetAddress hostAddress = httpc.dnsResolve(entry.url.getHost()); if (hostAddress == null) { - this.log.logFine("Unknown host in URL '" + entry.url + "'. Will not be indexed."); - doIndexing = false; + if (this.remoteProxyConfig == null || !this.remoteProxyConfig.useProxy()) { + this.log.logFine("Unknown host in URL '" + entry.url + "'. Will not be indexed."); + doIndexing = false; + } } else if (hostAddress.isSiteLocalAddress()) { this.log.logFine("Host in URL '" + entry.url + "' has private ip address. Will not be indexed."); doIndexing = false;