*) Bugfix for "YACY hängt sich beim Beenden auf" Bug

See: http://www.yacy-forum.de/viewtopic.php?p=8997

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@643 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent a47f9238fe
commit 286853fd39

@ -140,8 +140,10 @@ public final class httpc {
java.security.Security.setProperty("networkaddress.cache.ttl" , "60");
java.security.Security.setProperty("networkaddress.cache.negative.ttl" , "0");
sb = plasmaSwitchboard.getSwitchboard();
useYacyReferer = sb.getConfig("useYacyReferer", "true").equals("true");
yacyDebugMode = sb.getConfig("yacyDebugMode", "false").equals("true");
if (sb != null) {
useYacyReferer = sb.getConfig("useYacyReferer", "true").equals("true");
yacyDebugMode = sb.getConfig("yacyDebugMode", "false").equals("true");
}
}
/**

Loading…
Cancel
Save