]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish debugs on more obsolete options
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 9 Feb 2013 06:56:06 +0000 (23:56 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 9 Feb 2013 06:56:06 +0000 (23:56 -0700)
src/SwapDir.cc
src/cf.data.pre

index 94e7de2d2347719fac27493d7668de165afa0bd6..9851bbe836b36c84c2d726e68a49567ff12a9ada 100644 (file)
@@ -290,6 +290,10 @@ SwapDir::optionReadOnlyParse(char const *option, const char *value, int isaRecon
     if (strcmp(option, "no-store") != 0 && strcmp(option, "read-only") != 0)
         return false;
 
+    if (strcmp(option, "read-only") == 0) {
+        debugs(3, DBG_PARSE_NOTE(3), "UPGRADE WARNING: Replace cache_dir option 'read-only' with 'no-store'.");
+    }
+
     int read_only = 0;
 
     if (value)
index 5b456a0bb4016b71c0506eaeb4ca39b6e9a5c88d..c7ec12e84e0f6309d2ab6e7b2e97adb9461df9af 100644 (file)
@@ -190,6 +190,18 @@ DOC_START
        Since squid-3.0 use the 'disable-pmtu-discovery' flag on http_port instead.
 DOC_END
 
+NAME: wais_relay_host
+TYPE: obsolete
+DOC_START
+       Replace this line with 'cache_peer' configuration.
+DOC_END
+
+NAME: wais_relay_port
+TYPE: obsolete
+DOC_START
+       Replace this line with 'cache_peer' configuration.
+DOC_END
+
 COMMENT_START
  OPTIONS FOR AUTHENTICATION
  -----------------------------------------------------------------------------