diff --git a/source/de/anomic/urlRedirector/urlRedirectord.java b/source/de/anomic/urlRedirector/urlRedirectord.java index e974f4d74..32cde2fa7 100644 --- a/source/de/anomic/urlRedirector/urlRedirectord.java +++ b/source/de/anomic/urlRedirector/urlRedirectord.java @@ -136,6 +136,15 @@ public class urlRedirectord implements serverHandler { outputWriter.print(transferIgnoreList); outputWriter.print("\r\n"); outputWriter.flush(); + } else if (line.startsWith("DEPTH")) { + int pos = line.indexOf(" "); + if (pos != -1) { + String newDepth = line.substring(pos).trim(); + this.theLogger.logFine("Changing crawling depth to '" + newDepth); + profile.changeEntry("generalDepth",newDepth); + } + outputWriter.print("\r\n"); + outputWriter.flush(); } else { if (!authenticated) { return Boolean.FALSE;