]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Kill the obsolete -V command line option. Not working, and not in line
authorhno <>
Thu, 21 Dec 2006 07:34:51 +0000 (07:34 +0000)
committerhno <>
Thu, 21 Dec 2006 07:34:51 +0000 (07:34 +0000)
with current squid.conf syntax.

doc/squid.8.in
src/main.cc

index 6d2f1fb6d31e6eff58474ca6c460684d5ff6dfc5..f94de8971efda2140cc92ffb6e9d70b3b7321e4e 100755 (executable)
@@ -112,8 +112,6 @@ Set Windows Service Command line options in Registry.
 No daemon mode.
 .IP -R
 Do not set REUSEADDR on port.
-.IP -V
-Virtual host httpd-accelerator.
 .IP -X
 Force full debugging.
 .IP -Y
index 164d79f42f4dd1b66eab1262331ea7e74f7881b8..260cf201fe71c7f2e1a83ac91b5b470dd6c4eb32 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.438 2006/10/24 04:48:10 wessels Exp $
+ * $Id: main.cc,v 1.439 2006/12/21 00:34:51 hno Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -252,7 +252,7 @@ mainParseOptions(int argc, char *argv[])
     while ((c = getopt(argc, argv, "CDFNO:RSVYXa:d:f:hik:m::n:rsl:u:vz?")) != -1)
 #else
 
-    while ((c = getopt(argc, argv, "CDFNRSVYXa:d:f:hk:m::sl:u:vz?")) != -1)
+    while ((c = getopt(argc, argv, "CDFNRSYXa:d:f:hk:m::sl:u:vz?")) != -1)
 #endif
 
     {
@@ -291,23 +291,6 @@ mainParseOptions(int argc, char *argv[])
             opt_store_doublecheck = 1;
             break;
 
-        case 'V':
-
-            if (Config.Sockaddr.http)
-                Config.Sockaddr.http->vhost = 1;
-
-#if USE_SSL
-
-            else if (Config.Sockaddr.https)
-                Config.Sockaddr.https->http.vhost = 1;
-
-#endif
-
-            else
-                fatal("No http_port specified\n");
-
-            break;
-
         case 'X':
             /* force full debugging */
             sigusr2_handle(SIGUSR2);