Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
reinstate old timeout values for transferRWI and transferURL
hermens75b4a5ced466
diff --git a/source/de/anomic/yacy/yacyClient.java b/source/de/anomic/yacy/yacyClient.javaindex 17e2916c3..03472565a 100644--- a/source/de/anomic/yacy/yacyClient.java+++ b/source/de/anomic/yacy/yacyClient.java@@ -966,7 +966,7 @@ public final class yacyClient {post.add(new StringPart("entryc", Integer.toString(indexcount)));post.add(new StringPart("indexes", entrypost.toString()));try {- final byte[] content = wput("http://" + address + "/yacy/transferRWI.html", targetSeed.getHexHash() + ".yacyh", post, gzipBody);+ final byte[] content = wput("http://" + address + "/yacy/transferRWI.html", targetSeed.getHexHash() + ".yacyh", post, timeout, gzipBody);final ArrayList<String> v = nxTools.strings(content, "UTF-8");// this should return a list of urlhashes that are unknownif ((v != null) && (v.size() > 0)) {@@ -1012,7 +1012,7 @@ public final class yacyClient {}post.add(new StringPart("urlc", Integer.toString(urlc)));try {- final byte[] content = wput("http://" + address + "/yacy/transferURL.html", targetSeed.getHexHash() + ".yacyh", post, gzipBody);+ final byte[] content = wput("http://" + address + "/yacy/transferURL.html", targetSeed.getHexHash() + ".yacyh", post, timeout, gzipBody);final ArrayList<String> v = nxTools.strings(content, "UTF-8");if ((v != null) && (v.size() > 0)) {