*) Adding additional logging statements to help debugging seed-upload problems

See: http://www.yacy-forum.de/viewtopic.php?t=975&highlight= 

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@561 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent 751a778b54
commit 115c4edfcc

@ -580,9 +580,15 @@ public class yacySeedDB {
private boolean checkCache(Vector uv, URL seedURL) throws IOException {
// check if the result can be retrieved again
Vector check = httpc.wget(seedURL, 10000, null, null, sb.remoteProxyHost, sb.remoteProxyPort);
if (check == null) {
serverLog.logDebug("YACY","SaveSeedList: Testing download failed ...");
}
if ((check == null) || (uv == null) || (uv.size() != check.size())) {
return false;
} else {
serverLog.logDebug("YACY","SaveSeedList: Comparing local and uploades seed-list ...");
int i;
for (i = 0; i < uv.size(); i++) {
if (!(((String) uv.elementAt(i)).equals((String) check.elementAt(i)))) return false;

Loading…
Cancel
Save