Skip to content

Commit

Permalink
*) correcting validation of proxyStoreHTCache in ProxyIndexingMonitor…
Browse files Browse the repository at this point in the history
… configuration

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


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2188 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
theli committed Jun 9, 2006
1 parent 38a1410 commit d2dc848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/ProxyIndexingMonitor_p.java
Expand Up @@ -88,7 +88,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
if (newProxyPrefetchDepth < 0) newProxyPrefetchDepth = 0;
if (newProxyPrefetchDepth > 20) newProxyPrefetchDepth = 20; // self protection ?
env.setConfig("proxyPrefetchDepth", Integer.toString(newProxyPrefetchDepth));
boolean proxyStoreHTCache = (post.get("proxyStoreHTCache", "")).equals("on");
boolean proxyStoreHTCache = post.containsKey("proxyStoreHTCache");
env.setConfig("proxyStoreHTCache", (proxyStoreHTCache) ? "true" : "false");
boolean proxyCrawlOrder = post.containsKey("proxyCrawlOrder");
env.setConfig("proxyCrawlOrder", proxyCrawlOrder ? "true" : "false");
Expand Down

0 comments on commit d2dc848

Please sign in to comment.