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

index a41e474150955f1cdda8f7449cf3914ab8782321..cd5e54c48cfb55e5cb06b8f956e04e7346da2e3c 100644 (file)
@@ -288,6 +288,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 8d2ee22dec2e8bfe55f7bdf86f524a63bdf90854..1d643c4060291a46887fb075490021f3f1e30249 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
  -----------------------------------------------------------------------------